patch-2.4.25 linux-2.4.25/net/core/dev.c
Next file: linux-2.4.25/net/core/ethtool.c
Previous file: linux-2.4.25/net/bluetooth/hci_sock.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/net/core/dev.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.24/net/core/dev.c linux-2.4.25/net/core/dev.c
@@ -1501,8 +1501,8 @@
#endif /* CONFIG_NET_DIVERT */
#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
- if (skb->dev->br_port != NULL &&
- br_handle_frame_hook != NULL) {
+ if (skb->dev->br_port != NULL && br_handle_frame_hook != NULL &&
+ skb->pkt_type != PACKET_LOOPBACK) {
return handle_bridge(skb, pt_prev);
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)