From 44c19d76159111c76a1bf24fe52c767d447193a2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 28 Apr 2014 19:15:42 -0300 Subject: linux-libre-3.14.2-1: updating version * added fixes for i810 hang, uefi xsdt issue, saa7134, tun speed --- ...Start-with-correct-mac_len-in-skb_network_protocol.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libre/linux-libre/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch (limited to 'libre/linux-libre/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch') diff --git a/libre/linux-libre/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch b/libre/linux-libre/0013-net-Start-with-correct-mac_len-in-skb_network_protocol.patch new file mode 100644 index 000000000..2840f190c --- /dev/null +++ b/libre/linux-libre/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)) { -- cgit v1.2.3