diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c index caebf48c5813..b4a2261366c8 100644 --- a/drivers/net/vxlan/vxlan_core.c +++ b/drivers/net/vxlan/vxlan_core.c @@ -2631,6 +2631,7 @@ void vxlan_xmit_one(struct sk_buff *skb, struct net_device *dev, if (fan_has_map(&vxlan->fan) && rt->rt_flags & RTCF_LOCAL) { netdev_dbg(dev, "discard fan to localhost %pI4\n", &rdst->remote_ip.sin.sin_addr.s_addr); + rcu_read_unlock(); ip_rt_put(rt); goto tx_free; }