mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
if_rtdel is always called with the RADIX_NODE_HEAD lock held
This commit is contained in:
parent
30de65f8ed
commit
6241d13a1b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186275
@ -1120,7 +1120,7 @@ if_rtdel(struct radix_node *rn, void *arg)
|
||||
return (0);
|
||||
|
||||
err = rtrequest_fib(RTM_DELETE, rt_key(rt), rt->rt_gateway,
|
||||
rt_mask(rt), rt->rt_flags,
|
||||
rt_mask(rt), rt->rt_flags|RTF_RNH_LOCKED,
|
||||
(struct rtentry **) NULL, rt->rt_fibnum);
|
||||
if (err) {
|
||||
log(LOG_WARNING, "if_rtdel: error %d\n", err);
|
||||
|
Loading…
Reference in New Issue
Block a user