]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - net/ipv4/nexthop.c
Merge tag 'mac80211-for-net-2020-12-04' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-hirsute-kernel.git] / net / ipv4 / nexthop.c
index 8c0f17c6863cf102a7d08db7f02d5e4fefc06807..0dc43ad28eb95a6d0cb422d76a0cacd0ab2ec3a3 100644 (file)
@@ -845,7 +845,7 @@ static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh,
                remove_nh_grp_entry(net, nhge, nlinfo);
 
        /* make sure all see the newly published array before releasing rtnl */
-       synchronize_rcu();
+       synchronize_net();
 }
 
 static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo)