patch-2.1.11 linux/net/core/dev.c

Next file: linux/net/core/iovec.c
Previous file: linux/net/core/datagram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.10/linux/net/core/dev.c linux/net/core/dev.c
@@ -597,10 +597,11 @@
 
 		/*
 		 *	If we are bridging then pass the frame up to the
-		 *	bridging code. If it is bridged then move on
+		 *	bridging code (if this protocol is to be bridged).
+		 *      If it is bridged then move on
 		 */
 		 
-		if (br_stats.flags & BR_UP)
+		if (br_stats.flags & BR_UP && br_protocol_ok(ntohs(skb->protocol)))
 		{
 			/*
 			 *	We pass the bridge a complete frame. This means

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov