workaround LOR in rt_setgate
Reviewed by: andre Approved by: re (rwatson)
This commit is contained in:
parent
c4f6ec8989
commit
72b9c8c9fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122986
@ -1111,8 +1111,10 @@ rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate)
|
||||
|
||||
arg.rnh = rnh;
|
||||
arg.rt0 = rt;
|
||||
/* XXX LOR here */
|
||||
/* XXX workaround LOR */
|
||||
RT_UNLOCK(rt);
|
||||
RADIX_NODE_HEAD_LOCK(rnh);
|
||||
RT_LOCK(rt);
|
||||
rnh->rnh_walktree_from(rnh, rt_key(rt), rt_mask(rt),
|
||||
rt_fixchange, &arg);
|
||||
RADIX_NODE_HEAD_UNLOCK(rnh);
|
||||
|
Loading…
Reference in New Issue
Block a user