RTF_RNH_LOCKED needs to be passed in the flags arg not report,
apologies to thompsa
This commit is contained in:
parent
84b5117529
commit
7b5ba4e7f0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185965
@ -834,7 +834,7 @@ in6_ifdetach(struct ifnet *ifp)
|
||||
/* XXX grab lock first to avoid LOR */
|
||||
if (V_rt_tables[0][AF_INET6] != NULL) {
|
||||
RADIX_NODE_HEAD_LOCK(V_rt_tables[0][AF_INET6]);
|
||||
rt = rtalloc1((struct sockaddr *)&sin6, RTF_RNH_LOCKED, 0UL);
|
||||
rt = rtalloc1((struct sockaddr *)&sin6, 0, RTF_RNH_LOCKED);
|
||||
if (rt) {
|
||||
if (rt->rt_ifp == ifp)
|
||||
rtexpunge(rt);
|
||||
|
Loading…
Reference in New Issue
Block a user