Page MenuHomeFreeBSD

tcp: fix stack switching when vnets are used
ClosedPublic

Authored by tuexen on Apr 11 2023, 10:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 3:00 PM
Unknown Object (File)
Mon, Mar 16, 5:53 PM
Unknown Object (File)
Mon, Mar 16, 5:42 PM
Unknown Object (File)
Sat, Mar 7, 8:31 PM
Unknown Object (File)
Feb 21 2026, 7:09 AM
Unknown Object (File)
Feb 19 2026, 2:33 PM
Unknown Object (File)
Feb 8 2026, 5:38 AM
Unknown Object (File)
Jan 28 2026, 4:58 AM

Details

Summary

This fixes a bug where stacks could not be deregistered when end points in the non-default vnet are using it.

Test Plan

Try to force unload a TCP stack when end points in the non-default vnet are using it.

Diff Detail

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

Event Timeline

My fail! Thanks for the fix.

zlei accepted this revision.EditedApr 12 2023, 3:17 AM
zlei added a subscriber: zlei.

This is definitely the right approach to iterate per vnet inpcbs.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 12 2023, 8:56 AM
This revision was automatically updated to reflect the committed changes.