Page MenuHomeFreeBSD

tcp: Fix a lock leak in tcp_congestion()
AbandonedPublic

Authored by markj on Nov 12 2021, 7:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 29, 8:34 PM
Unknown Object (File)
Sun, Jun 29, 5:32 PM
Unknown Object (File)
Sat, Jun 28, 7:43 PM
Unknown Object (File)
Sat, Jun 14, 3:23 PM
Unknown Object (File)
Sat, Jun 7, 4:32 AM
Unknown Object (File)
Fri, Jun 6, 4:30 AM
Unknown Object (File)
Tue, Jun 3, 3:59 AM
Unknown Object (File)
May 27 2025, 1:15 PM
Subscribers

Details

Reviewers
rrs
tuexen
Group Reviewers
transport
Summary

Fixes: b8d60729deef ("tcp: Congestion control cleanup.")
Reported by: syzbot+b1a888df08efaa7b4bf1@syzkaller.appspotmail.com

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42767
Build 39655: arc lint + arc unit

Event Timeline

markj requested review of this revision.Nov 12 2021, 7:59 PM

I think CC_LIST_RUNLOCK() must also be called when exiting from the function via INP_WLOCK_RECHECK(). Or am I missing something?I looked also at the issue, and expanded the macros. See D32975.

I can abandon my review, but you would need to change yours.

Incomplete, a better patch is in D32975.

I think CC_LIST_RUNLOCK() must also be called when exiting from the function via INP_WLOCK_RECHECK(). Or am I missing something?I looked also at the issue, and expanded the macros. See D32975.

I can abandon my review, but you would need to change yours.

I think your patch is better.