Page MenuHomeFreeBSD

inpcb: garbage collect INP_LOCK_INIT(), used only once in sctp
ClosedPublic

Authored by glebius on Dec 17 2021, 7:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 21, 6:48 AM
Unknown Object (File)
Mon, Apr 20, 6:23 AM
Unknown Object (File)
Sun, Apr 19, 9:17 PM
Unknown Object (File)
Sat, Apr 18, 2:17 AM
Unknown Object (File)
Wed, Apr 15, 9:08 PM
Unknown Object (File)
Wed, Apr 15, 2:20 PM
Unknown Object (File)
Wed, Apr 15, 2:10 PM
Unknown Object (File)
Wed, Apr 15, 7:07 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tuexen added inline comments.
sys/netinet/sctp_pcb.c
2501

Could you just replace the code here instead of putting it into SCTP_INP_LOCK_INIT()?

Re-do per Michael suggestion.

This revision is now accepted and ready to land.Dec 17 2021, 8:15 PM