summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-07-13 12:40:21 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-13 14:47:10 -0700
commitbcb9928a155444dbd212473e60241ca0a7f641e1 (patch)
tree7c8f2457a62341b03ff2ab08f0e14c9292bbd506 /drivers/ntb
parent28efd208530c7690a275b18915960c26c5b4d9d5 (diff)
downloadlinux-stable-bcb9928a155444dbd212473e60241ca0a7f641e1.tar.gz
linux-stable-bcb9928a155444dbd212473e60241ca0a7f641e1.tar.bz2
linux-stable-bcb9928a155444dbd212473e60241ca0a7f641e1.zip
net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
This was not caught because there is no switch driver which implements the .port_bridge_join but not .port_bridge_leave method, but it should nonetheless be fixed, as in certain conditions (driver development) it might lead to NULL pointer dereference. Fixes: f66a6a69f97a ("net: dsa: permit cross-chip bridging between all trees in the system") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions