diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-06-20 20:17:29 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-06-20 20:17:29 +0000 |
commit | 6da2beab7f95422c9010755a8330c9551705260e (patch) | |
tree | b1d1eb597c6a4ed93e46a6055e5f5f51d8e8ef72 /sys/netinet/tcp_input.c | |
parent | c2888023eb9044c40a00bc477f834d323e9f8c44 (diff) | |
download | FreeBSD-src-6da2beab7f95422c9010755a8330c9551705260e.zip FreeBSD-src-6da2beab7f95422c9010755a8330c9551705260e.tar.gz |
Assert the inpcb lock before letting MAC check whether we can deliver
to the inpcb in tcp_input().
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 9b6636b..b1b2284 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -750,6 +750,7 @@ findpcb: tiwin = th->th_win; #ifdef MAC + INP_LOCK_ASSERT(inp); if (mac_check_inpcb_deliver(inp, m)) goto drop; #endif |