aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-02-15 01:36:46 +0200
committerDavid S. Miller <davem@davemloft.net>2022-02-15 14:37:28 +0000
commit5454f5c28eca6baba032f22e0df7df1c5e3f075f (patch)
tree0cd5f1e6ed81f88dedacfdbacb3be6fca37ce082 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
parentnet: hso: Use GFP_KERNEL instead of GFP_ATOMIC when possible (diff)
downloadlinux-dev-5454f5c28eca6baba032f22e0df7df1c5e3f075f.tar.xz
linux-dev-5454f5c28eca6baba032f22e0df7df1c5e3f075f.zip
net: bridge: vlan: check for errors from __vlan_del in __vlan_flush
If the following call path returns an error from switchdev: nbp_vlan_flush -> __vlan_del -> __vlan_vid_del -> br_switchdev_port_vlan_del -> __vlan_group_free -> WARN_ON(!list_empty(&vg->vlan_list)); then the deletion of the net_bridge_vlan is silently halted, which will trigger the WARN_ON from __vlan_group_free(). The WARN_ON is rather unhelpful, because nothing about the source of the error is printed. Add a print to catch errors from __vlan_del. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c')
0 files changed, 0 insertions, 0 deletions