aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/tcp_input.c2
-rw-r--r--sys/netinet/tcp_reass.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 00cc81872668..e37b656cc2db 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -726,7 +726,7 @@ findpcb:
*/
if ((blackhole == 1 && (thflags & TH_SYN)) ||
blackhole == 2)
- goto drop;
+ goto dropunlock;
rstreason = BANDLIM_RST_CLOSEDPORT;
goto dropwithreset;
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index 00cc81872668..e37b656cc2db 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;