Page MenuHomeFreeBSD

cxgbe/t4_tom: the aio tx job queue must be empty by the time the toepcb is freed.
ClosedPublic

Authored by np on Jun 28 2019, 7:13 PM.
Tags
None
Referenced Files
F112691549: D20798.id59167.diff
Fri, Mar 21, 12:30 PM
Unknown Object (File)
Tue, Mar 11, 1:07 AM
Unknown Object (File)
Feb 14 2025, 5:54 AM
Unknown Object (File)
Jan 13 2025, 1:52 AM
Unknown Object (File)
Jan 5 2025, 5:49 AM
Unknown Object (File)
Dec 26 2024, 4:45 PM
Unknown Object (File)
Dec 26 2024, 4:15 PM
Unknown Object (File)
Dec 26 2024, 5:08 AM
Subscribers

Diff Detail

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

Event Timeline

sys/dev/cxgbe/tom/t4_tom.c
297

Now that the jobq holds a reference on the socket (in effect), I think that hold on the socket prevents release_offload_resources() from being called? If soref() alone doesn't prevent that, then I'm less certain this will actually be true.

On further thought, I think this is ok. If the jobq isn't empty, then at least one job exists, and that job would hold a reference on the struct file and thus keep the socket "open".

This revision is now accepted and ready to land.Jun 28 2019, 7:19 PM