diff options
author | andre <andre@FreeBSD.org> | 2007-03-28 12:58:13 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2007-03-28 12:58:13 +0000 |
commit | b1c6fabadd4d3f1741ad3d643e6bf40609a6a0ab (patch) | |
tree | 30950037440071f251f73641b4c93e60c10b1b47 /sys/netinet/tcp_reass.c | |
parent | 41ebb7b07cd7d4973b77c820410455a593cab103 (diff) | |
download | FreeBSD-src-b1c6fabadd4d3f1741ad3d643e6bf40609a6a0ab.zip FreeBSD-src-b1c6fabadd4d3f1741ad3d643e6bf40609a6a0ab.tar.gz |
When blackholing do a 'dropunlock' in the new world order to prevent the
INP_INFO_LOCK from leaking.
Reported by: ache
Found by: rwatson
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r-- | sys/netinet/tcp_reass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 00cc818..e37b656 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -726,7 +726,7 @@ findpcb: */ if ((blackhole == 1 && (thflags & TH_SYN)) || blackhole == 2) - goto drop; + goto dropunlock; rstreason = BANDLIM_RST_CLOSEDPORT; goto dropwithreset; |