So the underlying drivers can use it to select the sending queue properly for SYN|ACK instead of rolling their own hash.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I hope you'd write a bit more descriptive commit-log (not just 'what' but also 'why') for the change. Thanks a lot for your work!
Cheers,
Hiren
sys/netinet/tcp_syncache.c | ||
---|---|---|
1507 ↗ | (On Diff #15647) | Do you mind adding a line or two about what this function does in comments to improve readability? Thanks :-) |
Comment Actions
OK :)
sys/netinet/tcp_syncache.c | ||
---|---|---|
1507 ↗ | (On Diff #15647) | OK, but as a different commit. |
Comment Actions
Basically what you're doing is to loop back the flowid of the received packet - right?
Maybe you could put that in a code comment.
Comment Actions
Yep, since we don't have inp to loopback the SYN's flowid here. So we use the SYN's flowid directly. OK, will add.