summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorFlorian Fainelli2017-09-02 17:56:45 +0200
committerDavid S. Miller2017-09-04 05:18:25 +0200
commit6d9c153a0b84392406bc77600aa7d3ea365de041 (patch)
treee2fc30d0c51629f96443233b24c1de88b383d27a /include/net/sock.h
parentMerge branch 'l2tp-session-creation-fixes' (diff)
downloadkernel-qcow2-linux-6d9c153a0b84392406bc77600aa7d3ea365de041.tar.gz
kernel-qcow2-linux-6d9c153a0b84392406bc77600aa7d3ea365de041.tar.xz
kernel-qcow2-linux-6d9c153a0b84392406bc77600aa7d3ea365de041.zip
net: dsa: loop: Do not unregister invalid fixed PHY
During error injection it was possible to crash in dsa_loop_exit() because of an attempt to unregister an invalid PHY. We actually want to the driver probing in dsa_loop_init() even though fixed_phy_register() may return an error to exercise how DSA deals with such cases, but we should not be crashing during driver removal. Fixes: 98cd1552ea27 ("net: dsa: Mock-up driver") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions