summaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/ibmtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tokenring/ibmtr.c')
-rw-r--r--drivers/net/tokenring/ibmtr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c
index 64ce20902..26956af06 100644
--- a/drivers/net/tokenring/ibmtr.c
+++ b/drivers/net/tokenring/ibmtr.c
@@ -1651,7 +1651,7 @@ static void tr_rx(struct net_device *dev)
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;
}