diff options
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 49cbdee..6c7ae76 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -132,12 +132,6 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW, &drop_synfin, 0, "Drop TCP packets with SYN+FIN set"); #endif -#ifdef TCP_RESTRICT_RST -static int restrict_rst = 0; -SYSCTL_INT(_net_inet_tcp, OID_AUTO, restrict_rst, CTLFLAG_RW, - &restrict_rst, 0, "Restrict RST emission"); -#endif - struct inpcbhead tcb; #define tcb6 tcb /* for KAME src sync over BSD*'s */ struct inpcbinfo tcbinfo; @@ -2303,13 +2297,8 @@ dropwithreset: /* IPv6 anycast check is done at tcp6_input() */ /* - * Perform bandwidth limiting (and RST blocking - * if kernel is so configured.) + * Perform bandwidth limiting. */ -#ifdef TCP_RESTRICT_RST - if (restrict_rst) - goto drop; -#endif if (badport_bandlim(rstreason) < 0) goto drop; |