In order to keep the various stacks up to date
and not having to manually adjust ECN related
changes simultaneously at up to three different
places, extract the common code into dedicated
functions and refer to them instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 44300 Build 41188: arc lint + arc unit
Event Timeline
sys/netinet/tcp_stacks/rack.c | ||
---|---|---|
16009 | This is the section which was missing, and may end up sending a packet with unexpected IP ECN / TCP ECN bits from the last cached copy. @rrs : If this is only ever called while TCPS_ESTABLISHED(), the special handling of SYN-RECEIVED could be removed, and the check if we are in >= SYN-RECEIVED above could be removed... |
sys/netinet/tcp_stacks/rack.c | ||
---|---|---|
16009 | I don't think it hurts to have the code, and I am not 100% sure that we wont get |
sys/netinet/tcp_stacks/rack.c | ||
---|---|---|
15830 | this was throwing compiler warn_as_err locally - CI compile error not yet reproduced |
Comment Actions
- move tcp_set_flag aft the added setting of the ECN flags
- remove #include from tcp_ecn.h
- shuffle #include around, so that tcp_ecn.h doesn't need any
- restore #include in tcp_ecn.h