aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2016-09-15 15:27:45 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2016-10-24 20:25:14 +0300
commit2fc3680dd066419576cb0129d0c1bd7618b90f1a (patch)
treef5956c394aedc3bb3a6a5f45e1d1ddc658d3dc58 /target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch
parent06405df7a8da24b7d735b32454c7d3b1f2ebaabc (diff)
downloadupstream-2fc3680dd066419576cb0129d0c1bd7618b90f1a.tar.gz
upstream-2fc3680dd066419576cb0129d0c1bd7618b90f1a.tar.bz2
upstream-2fc3680dd066419576cb0129d0c1bd7618b90f1a.zip
kernel: update kernel 4.1 to version 4.1.34
Refresh patches for all targets supporting 4.1 and not marked broken. Compile-tested on all targets using 4.1 and not marked broken. Changes to generic/610-netfilter_match_bypass_default_checks.patch based on 84d489f64f3b382d5544e342f66d8806e94e85d3. Changes to generic/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch based on a90ee92337d60fd14b6431adcda9929b955f3408. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch')
-rw-r--r--target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch b/target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch
deleted file mode 100644
index 2b9c4b00a2..0000000000
--- a/target/linux/generic/patches-4.1/103-packet_allow_empty_payload.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix a regression in the af_packet code that was breaking PPPoE
-
-pppd sends packets with only a header and no payload.
-
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
-
---- a/net/packet/af_packet.c
-+++ b/net/packet/af_packet.c
-@@ -2112,7 +2112,7 @@ static void tpacket_destruct_skb(struct
- static bool ll_header_truncated(const struct net_device *dev, int len)
- {
- /* net device doesn't like empty head */
-- if (unlikely(len <= dev->hard_header_len)) {
-+ if (unlikely(len < dev->hard_header_len)) {
- net_warn_ratelimited("%s: packet size is too short (%d <= %d)\n",
- current->comm, len, dev->hard_header_len);
- return true;