linux_dsm_epyc7002/net/8021q
Florian Fainelli d0186842ec net: vlan: Avoid using BUG() in vlan_proto_idx()
While we should always make sure that we specify a valid VLAN protocol
to vlan_proto_idx(), killing the machine when an invalid value is
specified is too harsh and not helpful for debugging. All callers are
capable of dealing with an error returned by vlan_proto_idx() so check
the index value and propagate it accordingly.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-25 14:12:18 -07:00
..
Kconfig
Makefile
vlan_core.c
vlan_dev.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
vlan_gvrp.c
vlan_mvrp.c
vlan_netlink.c
vlan.c net: vlan: Avoid using BUG() in vlan_proto_idx() 2020-09-25 14:12:18 -07:00
vlan.h net: vlan: Avoid using BUG() in vlan_proto_idx() 2020-09-25 14:12:18 -07:00
vlanproc.c
vlanproc.h