Currently the sysctl variable net.inet.tcp.drop_synfin is not honored in all states, for example not in SYN-SENT.
This patch adds code to check the sysctl variable in other states than LISTEN.
Details
Details
- Reviewers
hiren rrs gnn - Group Reviewers
transport - Commits
- rS319399: MFC r316743:
rS316743: The sysctl variable net.inet.tcp.drop_synfin is not honored in all states,
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 7909
Event Timeline
Comment Actions
Other than the need for some clarifying parentheses I think this is OK.
sys/netinet/tcp_input.c | ||
---|---|---|
1557 | I'd like some clarifying parentheses here as well as in all the other similar if statements below. |
sys/netinet/tcp_input.c | ||
---|---|---|
248 | This declaration seems unnecessary. It is already defined at the line 147. |