diff options
author | 2017-12-26 23:15:17 +0000 | |
---|---|---|
committer | 2018-01-02 13:40:28 -0500 | |
commit | 0b2122e4934c7783d336397864e34ee53aad0965 (patch) | |
tree | 1a802912a05f18c1ad045f68210623f13dee5e4b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phylink: ensure we report link down when LOS asserted (diff) | |
download | wireguard-linux-0b2122e4934c7783d336397864e34ee53aad0965.tar.xz wireguard-linux-0b2122e4934c7783d336397864e34ee53aad0965.zip |
sfp: fix sfp-bus oops when removing socket/upstream
When we remove a socket or upstream, and the other side isn't
registered, we dereference a NULL pointer, causing a kernel oops.
Fix this.
Fixes: ce0aa27ff3f6 ("sfp: add sfp-bus to bridge between network devices and sfp cages")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions