Message ID | 20240906211114.285725-2-aleksandr.mikhalitsyn@canonical.com |
---|---|
State | New |
Headers | show |
Series | UBUNTU: SAUCE: fan: fixes | expand |
diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c index c8b1ff86535a..d19c1900e52b 100644 --- a/drivers/net/vxlan/vxlan_core.c +++ b/drivers/net/vxlan/vxlan_core.c @@ -2621,6 +2621,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; }
BugLink: https://bugs.launchpad.net/bugs/2064176 Link: https://github.com/canonical/lxd/issues/14025 Reported-by: Max Asnaashari <max.asnaashari@canonical.com> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> --- drivers/net/vxlan/vxlan_core.c | 1 + 1 file changed, 1 insertion(+)