Commit af5ef241 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

vlan: use this_cpu_ptr() in vlan_skb_recv()

Signed-off-by: default avatarEric Dumazet <>
Signed-off-by: default avatarDavid S. Miller <>
parent 8d98efa8
......@@ -177,8 +177,8 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
} else {
skb->dev = vlan_dev;
rx_stats = per_cpu_ptr(vlan_dev_info(skb->dev)->vlan_rx_stats,
rx_stats = this_cpu_ptr(vlan_dev_info(skb->dev)->vlan_rx_stats);
rx_stats->rx_bytes += skb->len;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment