641-bridge_always_accept_eap.patch 342 B

1234567891011
  1. --- a/net/bridge/br_input.c
  2. +++ b/net/bridge/br_input.c
  3. @@ -84,7 +84,7 @@ int br_handle_frame_finish(struct sk_buf
  4. br_multicast_rcv(br, p, skb, vid))
  5. goto drop;
  6. - if (p->state == BR_STATE_LEARNING)
  7. + if ((p->state == BR_STATE_LEARNING) && skb->protocol != htons(ETH_P_PAE))
  8. goto drop;
  9. BR_INPUT_SKB_CB(skb)->brdev = br->dev;