Toshiaki Makita
d4bcef3fbe
net: Fix vlan_get_protocol for stacked vlan
...
vlan_get_protocol() could not get network protocol if a skb has a 802.1ad
vlan tag or multiple vlans, which caused incorrect checksum calculation
in several drivers.
Fix vlan_get_protocol() to retrieve network protocol instead of incorrect
vlan protocol.
As the logic is the same as skb_network_protocol(), create a common helper
function __vlan_get_protocol() and call it from existing functions.
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-01-30 18:03:47 -08:00
..
2014-12-05 12:43:04 +01:00
2014-10-15 10:25:04 +10:30
2014-07-15 16:12:48 -07:00
2014-12-12 10:58:53 -05:00
2014-11-24 04:28:48 -05:00
2014-12-09 16:29:03 -05:00
2014-11-24 04:28:48 -05:00
2015-01-06 11:07:01 +01:00
2014-12-24 20:02:00 +01:00
2015-01-14 15:08:02 -05:00
2015-01-29 14:20:02 -08:00
2014-12-07 21:22:05 +01:00
2015-01-08 20:36:57 +03:00
2015-01-30 18:03:47 -08:00
2014-11-16 14:50:52 -05:00
2014-12-10 22:41:55 -05:00
2014-11-24 04:28:51 -05:00
2014-10-01 00:44:04 +10:00
2015-01-25 16:00:54 -08:00
2014-09-05 17:47:02 -07:00
2014-07-11 15:04:40 -07:00
2014-12-09 18:12:03 -05:00
2015-01-29 15:28:59 -08:00
2015-01-27 00:28:38 -08:00
2014-11-24 04:28:49 -05:00
2014-12-10 15:33:16 -05:00
2014-12-10 22:41:55 -05:00
2014-11-24 04:28:48 -05:00
2014-12-09 16:28:22 -05:00
2014-10-24 15:51:42 -04:00
2015-01-25 00:23:21 -08:00
2015-01-23 10:53:58 +01:00
2014-12-05 14:18:42 +01:00
2014-12-23 23:57:31 -05:00
2015-01-12 00:14:49 -05:00
2014-10-09 01:40:05 -04:00
2015-01-30 17:43:47 -08:00
2014-11-24 04:28:48 -05:00
2014-12-09 18:12:03 -05:00
2015-01-14 16:49:44 -05:00
2015-01-11 21:54:03 -05:00
2014-11-24 04:28:48 -05:00
2014-12-15 11:49:09 -05:00
2014-12-14 16:10:09 -08:00
2014-11-24 04:28:48 -05:00
2014-12-10 22:41:55 -05:00
2015-01-26 15:50:19 -08:00
2015-01-30 17:45:23 -08:00
2015-01-07 14:03:58 -05:00
2014-12-02 20:01:22 -08:00
2015-01-12 16:01:59 -05:00
2014-12-09 16:29:03 -05:00
2014-12-09 16:29:03 -05:00
2014-10-07 20:28:44 -04:00
2015-01-26 17:32:24 -08:00
2014-11-24 04:28:48 -05:00
2014-12-08 21:30:21 -05:00
2014-12-09 16:29:03 -05:00
2014-12-02 20:01:20 -08:00
2014-12-16 15:53:03 -08:00
2015-01-27 12:25:33 -08:00