Page MenuHomeFreeBSD

linux: require vnet(9) context in ifname_bsd_to_linux_name()
ClosedPublic

Authored by glebius on Mar 2 2024, 6:27 PM.
Tags
None
Referenced Files
F102097353: D44191.diff
Thu, Nov 7, 2:08 PM
Unknown Object (File)
Tue, Nov 5, 3:59 AM
Unknown Object (File)
Sun, Nov 3, 12:27 AM
Unknown Object (File)
Tue, Oct 15, 10:30 PM
Unknown Object (File)
Mon, Oct 14, 7:45 PM
Unknown Object (File)
Sun, Oct 13, 7:50 AM
Unknown Object (File)
Fri, Oct 11, 6:46 PM
Unknown Object (File)
Thu, Oct 10, 12:26 PM
Subscribers

Details

Summary

This function is used by netlink(9) only. The netlink(9) taskqueue thread
runs in the vnet of the socket whose request the thread is processing
right now. This is a correct vnet and resetting it to vnet0 is incorrect.
If the function is to be used by any other caller in addition to
netlink(9), it would be caller's responsiblity to provide correct vnet(9).

PR: 277286

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56411
Build 53299: arc lint + arc unit