mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
Remove extraneous unlock. This fixes a panic seen when manipulating static
entries in the ARP table.
This commit is contained in:
parent
a8e1969bfb
commit
d4b2657f98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124237
|
@ -1277,7 +1277,7 @@ rt_check(struct rtentry **lrt, struct rtentry **lrt0, struct sockaddr *dst)
|
|||
rt = rtalloc1(dst, 1, 0UL);
|
||||
if (rt != NULL) {
|
||||
RT_REMREF(rt);
|
||||
RT_UNLOCK(rt);
|
||||
/* XXX what about if change? */
|
||||
} else
|
||||
senderr(EHOSTUNREACH);
|
||||
rt0 = rt;
|
||||
|
|
Loading…
Reference in a new issue