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)
Thu, Dec 12, 6:13 PM
Unknown Object (File)
Nov 3 2024, 5:50 AM
Unknown Object (File)
Sep 29 2024, 6:26 PM
Unknown Object (File)
Sep 19 2024, 1:43 AM
Unknown Object (File)
Sep 18 2024, 8:10 PM
Unknown Object (File)
Sep 15 2024, 8:47 PM
Unknown Object (File)
Sep 5 2024, 6:25 AM
Unknown Object (File)
Sep 1 2024, 12:43 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.