aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index e7bada1d5ed..950c13fa60d 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2300,7 +2300,7 @@ int netif_receive_skb(struct sk_buff *skb)
2300 if (!skb->tstamp.tv64) 2300 if (!skb->tstamp.tv64)
2301 net_timestamp(skb); 2301 net_timestamp(skb);
2302 2302
2303 if (skb->vlan_tci && vlan_hwaccel_do_receive(skb)) 2303 if (vlan_tx_tag_present(skb) && vlan_hwaccel_do_receive(skb))
2304 return NET_RX_SUCCESS; 2304 return NET_RX_SUCCESS;
2305 2305
2306 /* if we've gotten here through NAPI, check netpoll */ 2306 /* if we've gotten here through NAPI, check netpoll */