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)
Dec 20 2023, 5:49 AM
Unknown Object (File)
Dec 10 2023, 11:31 PM
Unknown Object (File)
Nov 5 2023, 9:47 AM
Unknown Object (File)
Nov 5 2023, 8:48 AM
Unknown Object (File)
Oct 10 2023, 7:28 PM
Unknown Object (File)
Oct 4 2023, 8:44 AM
Unknown Object (File)
Sep 30 2023, 8:44 AM
Unknown Object (File)
Aug 14 2023, 8:11 PM

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.