summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorJesper Skriver <jesper@FreeBSD.org>2001-03-28 14:13:19 +0000
committerJesper Skriver <jesper@FreeBSD.org>2001-03-28 14:13:19 +0000
commitb77d155dd3fa721f82d414f629def7eb8f113a9e (patch)
treeb67a3f7e2ce0784fcb59f8c0c455ccafe10d7e2f /sys/netinet/tcp_subr.c
parentb40cbf61a76fe81a54d64f6f5a7df3778888e956 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 8f339e4487a0..2afff532c449 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -987,7 +987,8 @@ tcp_ctlinput(cmd, sa, vip)
if (cmd == PRC_QUENCH)
notify = tcp_quench;
- else if (icmp_may_rst && cmd == PRC_UNREACH_ADMIN_PROHIB && ip)
+ else if (icmp_may_rst && (cmd == PRC_UNREACH_ADMIN_PROHIB ||
+ cmd == PRC_UNREACH_PORT) && ip)
notify = tcp_drop_syn_sent;
else if (cmd == PRC_MSGSIZE)
notify = tcp_mtudisc;