generic: ar8216: move register inititalization into hw_init
[openwrt.git] / target / linux / generic / patches-3.0 / 640-bridge_no_eap_forward.patch
index dac8982..778efac 100644 (file)
@@ -4,12 +4,12 @@
  
        dst = NULL;
  
--      if (is_multicast_ether_addr(dest)) {
+-      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_multicast_ether_addr(dest)) {
++      } else if (is_broadcast_ether_addr(dest))
+               skb2 = skb;
+       else if (is_multicast_ether_addr(dest)) {
                mdst = br_mdb_get(br, skb);
-               if (mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) {
-                       if ((mdst && mdst->mglist) ||
This page took 0.023617 seconds and 4 git commands to generate.