We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb9cb7 commit 913633dCopy full SHA for 913633d
drivers/net/vxlan.c
@@ -1549,6 +1549,7 @@ static int neigh_reduce(struct net_device *dev, struct sk_buff *skb)
1549
struct neighbour *n;
1550
struct inet6_dev *in6_dev;
1551
1552
+ rcu_read_lock();
1553
in6_dev = __in6_dev_get(dev);
1554
if (!in6_dev)
1555
goto out;
@@ -1605,6 +1606,7 @@ static int neigh_reduce(struct net_device *dev, struct sk_buff *skb)
1605
1606
}
1607
1608
out:
1609
+ rcu_read_unlock();
1610
consume_skb(skb);
1611
return NETDEV_TX_OK;
1612
0 commit comments