diff options
author | sam <sam@FreeBSD.org> | 2004-01-07 23:42:21 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-01-07 23:42:21 +0000 |
commit | 7289c3aadd278486c0c87e9ee2a3bc26cc82f60c (patch) | |
tree | 0b6692c314c9cf394d3a1853c5d599e4d3f02fdd /sys/net | |
parent | 91077cabf912bb8cb793b48a694ee156bed44e9b (diff) | |
download | FreeBSD-src-7289c3aadd278486c0c87e9ee2a3bc26cc82f60c.zip FreeBSD-src-7289c3aadd278486c0c87e9ee2a3bc26cc82f60c.tar.gz |
Remove extraneous unlock. This fixes a panic seen when manipulating static
entries in the ARP table.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index b059f2a..a42430b 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -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; |