summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-12-07 10:11:43 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-12-07 10:11:43 +0000
commit9999ca14e7882d510801790dee168291b03f25ee (patch)
tree0e3ccdd696399774f9b277b09e992131fee5ecce /target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch
parent3333f75cafc6d45491eeb2b104a01bf8cb90cd78 (diff)
downloadmtk-20170518-9999ca14e7882d510801790dee168291b03f25ee.zip
mtk-20170518-9999ca14e7882d510801790dee168291b03f25ee.tar.gz
mtk-20170518-9999ca14e7882d510801790dee168291b03f25ee.tar.bz2
generic: bump 4.4 to rc4
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47801
Diffstat (limited to 'target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch')
-rw-r--r--target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch b/target/linux/generic/patches-4.4/103-packet_allow_empty_payload.patch
deleted file mode 100644
index ce37d5b..0000000
--- a/target/linux/generic/patches-4.4/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@openwrt.org>
-
---- a/net/packet/af_packet.c
-+++ b/net/packet/af_packet.c
-@@ -2329,7 +2329,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;