Page MenuHomeFreeBSD

Properly set VNET when nuking recvif from fragment queues
ClosedPublic

Authored by bz on Oct 25 2019, 4:44 PM.

Details

Summary

In theory the eventhandler invoke should be in the same VNET as
the the current interface. We however cannot guarantee that for
all cases in the future.

So before checking if the fragmentation handling for this VNET
is active, switch the VNET to the VNET of the interface to always
get the one we want.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bz created this revision.Oct 25 2019, 4:44 PM
hselasky accepted this revision.Oct 25 2019, 5:06 PM
This revision is now accepted and ready to land.Oct 25 2019, 5:06 PM
This revision was automatically updated to reflect the committed changes.