diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-03-14 14:45:56 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-03-14 14:45:56 +0000 |
commit | b2e63b8ea81fae72aef69649631cf491bac5306f (patch) | |
tree | 9a4bc7d83c339b4b842999287e3ae5e5d5d6734a /target/linux/generic/patches-3.9/640-bridge_no_eap_forward.patch | |
parent | 32f3b1e3582701ef6c8c248b9ad0a761c42bbc1b (diff) | |
download | openwrt-b2e63b8ea81fae72aef69649631cf491bac5306f.tar.gz openwrt-b2e63b8ea81fae72aef69649631cf491bac5306f.tar.bz2 openwrt-b2e63b8ea81fae72aef69649631cf491bac5306f.zip |
kernel: add support for 3.9-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36008
Diffstat (limited to 'target/linux/generic/patches-3.9/640-bridge_no_eap_forward.patch')
-rw-r--r-- | target/linux/generic/patches-3.9/640-bridge_no_eap_forward.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.9/640-bridge_no_eap_forward.patch b/target/linux/generic/patches-3.9/640-bridge_no_eap_forward.patch new file mode 100644 index 0000000000..5f075c31d8 --- /dev/null +++ b/target/linux/generic/patches-3.9/640-bridge_no_eap_forward.patch @@ -0,0 +1,15 @@ +--- a/net/bridge/br_input.c ++++ b/net/bridge/br_input.c +@@ -94,7 +94,11 @@ int br_handle_frame_finish(struct sk_buf + + dst = NULL; + +- if (is_broadcast_ether_addr(dest)) ++ if (skb->protocol == htons(ETH_P_PAE)) { ++ skb2 = skb; ++ /* Do not forward 802.1x/EAP frames */ ++ skb = NULL; ++ } else if (is_broadcast_ether_addr(dest)) + skb2 = skb; + else if (is_multicast_ether_addr(dest)) { + mdst = br_mdb_get(br, skb); |