diff options
author | des <des@FreeBSD.org> | 1999-09-14 16:14:05 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1999-09-14 16:14:05 +0000 |
commit | b94ca10a5535feb8418fe6388738bb054c6d7b23 (patch) | |
tree | 49399e638b071f56393b33a8bc0658194b6dd384 /sys/netinet/tcp_reass.c | |
parent | 8fd7143285650f74aa97ae4628c95e7ef08acaac (diff) | |
download | FreeBSD-src-b94ca10a5535feb8418fe6388738bb054c6d7b23.zip FreeBSD-src-b94ca10a5535feb8418fe6388738bb054c6d7b23.tar.gz |
Fix some more disordering, as well as the description string for the
net.inet.tcp.drop_synfin sysctl, which for some mysterious reason said
"Drop TCP packets with FIN+ACK set" (instead of "...with SYN+FIN set")
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r-- | sys/netinet/tcp_reass.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 7fa0da2..e45c64b 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -94,18 +94,18 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, delayed_ack, CTLFLAG_RW, &tcp_delack_enabled, 0, "Delay ACK to try and piggyback it onto a data packet"); +#ifdef TCP_DROP_SYNFIN +static int drop_synfin = 0; +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 -#ifdef TCP_DROP_SYNFIN -static int drop_synfin = 0; -SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW, - &drop_synfin, 0, "Drop TCP packets with FIN+ACK set"); -#endif - struct inpcbhead tcb; struct inpcbinfo tcbinfo; |