patch-2.3.40 linux/drivers/net/tokenring/tms380tr.c

Next file: linux/drivers/net/tulip.c
Previous file: linux/drivers/net/tokenring/olympic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/drivers/net/tokenring/tms380tr.c linux/drivers/net/tokenring/tms380tr.c
@@ -2470,7 +2470,8 @@
 				tp->RplHead = SaveHead;
 				break;	/* Return to tms380tr_interrupt */
 			}
-
+#if 0	/* This might happen for multicast or broadcast packets.
+	   The upper layers are expected to handle this, not here */
 			/* Drop frames sent by myself */
 			if(tms380tr_chk_frame(dev, rpl->MData))
 			{
@@ -2480,6 +2481,7 @@
 					dev_kfree_skb(rpl->Skb);
 			}
 			else
+#endif
 			{
 			  tms380tr_update_rcv_stats(tp,ReceiveDataPtr,Length);
 			  

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