summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-07 16:22:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-07 16:22:08 +0000
commitad133b57a94165e1289ac63b38139047a1450dbb (patch)
treeb59d5e2f60aface2db357eef2bd87d5d448c26a3 /target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch
parent86a46a817ba7cfab4963818f9c97508f1f835762 (diff)
downloadmtk-20170518-ad133b57a94165e1289ac63b38139047a1450dbb.zip
mtk-20170518-ad133b57a94165e1289ac63b38139047a1450dbb.tar.gz
mtk-20170518-ad133b57a94165e1289ac63b38139047a1450dbb.tar.bz2
kernel: remove linux 4.0 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47412
Diffstat (limited to 'target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch')
-rw-r--r--target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch b/target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch
deleted file mode 100644
index 16deda4..0000000
--- a/target/linux/generic/patches-4.0/641-bridge_always_accept_eap.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-From: Felix Fietkau <nbd@openwrt.org>
-Subject: [PATCH] bridge: always accept EAP
-
-Allow EAP frames to pass through bridges even in learning state. Fixes
-issues with WDS.
----
---- a/net/bridge/br_input.c
-+++ b/net/bridge/br_input.c
-@@ -140,7 +140,7 @@ int br_handle_frame_finish(struct sk_buf
- br_multicast_rcv(br, p, skb, vid))
- goto drop;
-
-- if (p->state == BR_STATE_LEARNING)
-+ if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE))
- goto drop;
-
- BR_INPUT_SKB_CB(skb)->brdev = br->dev;