diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-20 05:54:23 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-20 05:54:23 -0300 |
commit | 217f57a74281668a1be81d99d6ac284e15ab3310 (patch) | |
tree | c2a369eaff769b8cdca05e4bf37c438962c3403e /kernels/linux-libre-rt/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch | |
parent | d16dfa8344d37b27fcba665bfb3d06db29977e59 (diff) |
linux-libre-rt-3.14.3_rt5-1: updating version
Diffstat (limited to 'kernels/linux-libre-rt/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch')
-rw-r--r-- | kernels/linux-libre-rt/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kernels/linux-libre-rt/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch b/kernels/linux-libre-rt/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch new file mode 100644 index 000000000..2840f190c --- /dev/null +++ b/kernels/linux-libre-rt/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch @@ -0,0 +1,13 @@ +diff --git a/net/core/dev.c b/net/core/dev.c +index 45fa2f1..6088927 100644 +--- a/net/core/dev.c ++++ b/net/core/dev.c +@@ -2289,7 +2289,7 @@ EXPORT_SYMBOL(skb_checksum_help); + __be16 skb_network_protocol(struct sk_buff *skb, int *depth) + { + __be16 type = skb->protocol; +- int vlan_depth = ETH_HLEN; ++ int vlan_depth = skb->mac_len; + + /* Tunnel gso handlers can set protocol to ethernet. */ + if (type == htons(ETH_P_TEB)) { |