diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-08-19 01:11:17 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-08-19 01:11:17 +0000 |
commit | 224ba75d82905066375194a21fcfd52c4b6afc1b (patch) | |
tree | 8a2bf9d0d0f48599162f78a88e85969f3dcdbe02 /sys/netinet | |
parent | ad8a5e508daf613e1dcf6b2690090643ab1df80b (diff) | |
download | FreeBSD-src-224ba75d82905066375194a21fcfd52c4b6afc1b.zip FreeBSD-src-224ba75d82905066375194a21fcfd52c4b6afc1b.tar.gz |
In in_pcbrehash(), do assert the inpcb lock as well as the pcbinfo lock.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in_pcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index bd09eb1..a793532 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1119,7 +1119,7 @@ in_pcbrehash(inp) u_int32_t hashkey_faddr; INP_INFO_WLOCK_ASSERT(pcbinfo); - /* XXX? INP_LOCK_ASSERT(inp); */ + INP_LOCK_ASSERT(inp); #ifdef INET6 if (inp->inp_vflag & INP_IPV6) hashkey_faddr = inp->in6p_faddr.s6_addr32[3] /* XXX */; |