aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-02-17 16:07:34 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-20 10:15:11 -0500
commit25149ef9d25cafc4f4fe9f4461f18f876f397417 (patch)
treeacc10c699ffcb5ceed825af9f051971f94387b09 /net/openvswitch
parentnet: phy: Fix PHY unbind crash (diff)
downloadlinux-dev-25149ef9d25cafc4f4fe9f4461f18f876f397417.tar.xz
linux-dev-25149ef9d25cafc4f4fe9f4461f18f876f397417.zip
net: phy: Check phydev->drv
There are number of function calls, originating from user-space, typically through the Ethernet driver that can make us crash by dereferencing phydev->drv which will be NULL once we unbind the driver from the PHY. There are still functional issues that prevent an unbind then rebind to work, but these will be addressed separately. Suggested-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions