Page MenuHomeFreeBSD

tcp_usrreq: allocate tfo counter when required
ClosedPublic

Authored by pouria on Tue, Mar 24, 5:58 PM.
Tags
None
Referenced Files
F151915796: D56067.id174243.diff
Sat, Apr 11, 12:34 PM
F151870538: D56067.id174242.diff
Sat, Apr 11, 6:04 AM
F151845518: D56067.id174242.diff
Sat, Apr 11, 1:40 AM
Unknown Object (File)
Fri, Apr 10, 10:12 AM
Unknown Object (File)
Wed, Apr 8, 9:58 AM
Unknown Object (File)
Sun, Apr 5, 7:09 PM
Unknown Object (File)
Thu, Apr 2, 2:22 PM
Unknown Object (File)
Wed, Apr 1, 12:15 PM
Subscribers

Details

Summary

During tcp_usr_listen, only allocate tfo when required.

Test Plan

Run network tests:

kyua test -k /usr/tests/Kyuafile sys/netinet

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71694
Build 68577: arc lint + arc unit

Event Timeline

Do the same for tcp6_usr_listen()

sys/netinet/tcp_usrreq.c
469

You can now use an else clause here.

pouria marked an inline comment as done.

Address @tuexen comment.

This revision is now accepted and ready to land.Tue, Mar 24, 9:26 PM