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)
Thu, Oct 24, 4:46 AM
Unknown Object (File)
Oct 2 2024, 7:36 AM
Unknown Object (File)
Sep 20 2024, 11:03 PM
Unknown Object (File)
Sep 20 2024, 8:55 PM
Unknown Object (File)
Sep 10 2024, 6:50 AM
Unknown Object (File)
Sep 9 2024, 11:25 PM
Unknown Object (File)
Sep 8 2024, 1:34 PM
Unknown Object (File)
Sep 8 2024, 2:41 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.