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
@ -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…
x
Reference in New Issue
Block a user