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)
Sat, Apr 27, 10:26 AM
Unknown Object (File)
Sat, Apr 27, 10:26 AM
Unknown Object (File)
Sat, Apr 27, 9:01 AM
Unknown Object (File)
Feb 16 2024, 12:13 PM
Unknown Object (File)
Dec 20 2023, 1:57 AM
Unknown Object (File)
Dec 12 2023, 1:25 AM
Unknown Object (File)
Nov 4 2023, 7:06 AM
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.