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
..
2020-08-23 17:36:59 -05:00
2020-09-25 14:12:18 -07:00
2020-08-03 15:48:32 -07:00
2020-09-18 14:12:43 -07:00
2020-07-25 17:49:04 -07:00
2020-09-23 13:24:34 -07:00
2020-09-18 14:12:43 -07:00
2020-08-23 17:36:59 -05:00
2020-08-20 16:02:36 +02:00
2020-09-23 13:24:35 -07:00
2020-09-05 15:57:05 -07:00
2020-09-21 10:13:16 +02:00
2020-08-23 17:36:59 -05:00
2020-09-24 19:58:34 -07:00
2020-09-10 15:09:08 -07:00
2020-09-10 13:15:40 -07:00
2020-08-23 17:36:59 -05:00
2020-09-24 19:47:56 -07:00
2020-09-22 16:45:34 -07:00
2020-09-22 16:45:34 -07:00
2020-08-23 17:36:59 -05:00
2020-09-24 20:17:01 -07:00
2020-09-22 16:45:34 -07:00
2020-08-23 17:36:59 -05:00
2020-07-24 15:41:54 -07:00
2020-08-02 01:02:12 -07:00
2020-09-18 14:36:54 -07:00
2020-08-27 07:55:59 -07:00
2020-07-24 15:41:54 -07:00
2020-09-22 16:45:34 -07:00
2020-09-08 20:12:58 -07:00
2020-08-23 17:36:59 -05:00
2020-09-24 20:17:01 -07:00
2020-08-23 17:36:59 -05:00
2020-09-22 16:45:34 -07:00
2020-09-08 20:04:27 -07:00
2020-09-17 16:53:47 -07:00
2020-08-23 17:36:59 -05:00
2020-09-05 16:01:52 -07:00
2020-09-18 14:24:08 -07:00
2020-09-19 16:40:48 -07:00
2020-08-23 17:36:59 -05:00
2020-09-09 11:04:39 -07:00
2020-09-20 19:09:11 -07:00
2020-08-23 17:36:59 -05:00
2020-09-14 16:18:59 +01:00
2020-09-22 16:45:34 -07:00
2020-09-22 16:45:34 -07:00
2020-09-17 18:03:56 -07:00
2020-09-22 16:45:34 -07:00
2020-09-22 16:45:34 -07:00
2020-09-01 11:47:12 -07:00
2020-09-21 14:51:37 -07:00
2020-08-12 12:56:06 -07:00
2020-09-22 16:45:34 -07:00
2020-08-23 17:36:59 -05:00
2020-09-23 13:11:11 -07:00
2020-08-23 17:36:59 -05:00
2020-08-07 12:43:25 -07:00
2020-09-04 21:28:59 -07:00