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

Next file: linux/drivers/net/tokenring/olympic.c
Previous file: linux/drivers/net/smc-ultra.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/drivers/net/tokenring/ibmtr.c linux/drivers/net/tokenring/ibmtr.c
@@ -1651,7 +1651,7 @@
        	ti->tr_stats.rx_packets++;
 
 	skb->protocol = tr_type_trans(skb,dev);
- 	if (IPv4_p){ 
+ 	if (IPv4_p && (skb->protocol == ETH_P_IP)) { 
 		skb->csum      = chksum;
 		skb->ip_summed = 1;
 	}

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