patch-2.4.22 linux-2.4.22/net/bridge/br_input.c

Next file: linux-2.4.22/net/bridge/br_private.h
Previous file: linux-2.4.22/net/bridge/br_if.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/net/bridge/br_input.c linux-2.4.22/net/bridge/br_input.c
@@ -160,7 +160,8 @@
 
 handle_special_frame:
 	if (!dest[5]) {
-		br_stp_handle_bpdu(skb);
+		NF_HOOK(PF_BRIDGE, NF_BR_LOCAL_IN, skb, skb->dev,NULL,
+			br_stp_handle_bpdu);
 		read_unlock(&br->lock);
 		return;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)