pr_attach is only called on a socket so with so->so_listen != NULL via sonewconn. However, sonewconn is not called from the TCP code. The listening sockets are handled in tcp_syncache.c without using sonewconn. Therefore, the code removed is never executed.
No functional change intended.
Details
Details
- Reviewers
rrs rscheff peter.lei_ieee.org lstewart - Group Reviewers
transport - Commits
- rGe7381521aa75: tcp: remove unused code in tcp_usr_attach
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped