aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2023-11-19 08:23:43 -0800
committerPaolo Abeni <pabeni@redhat.com>2023-11-21 13:15:02 +0100
commitc807d6cd089d2f4951baa838081ec5ae3e2360f8 (patch)
treeef1f991dac34eba153dc1a69a19b64eb0ad735c1 /scripts/gdb/linux/modules.py
parent85520856466ed6bc3b1ccb013cddac70ceb437db (diff)
hv_netvsc: Mark VF as slave before exposing it to user-mode
When a VF is being exposed form the kernel, it should be marked as "slave" before exposing to the user-mode. The VF is not usable without netvsc running as master. The user-mode should never see a VF without the "slave" flag. This commit moves the code of setting the slave flag to the time before VF is exposed to user-mode. Cc: stable@vger.kernel.org Fixes: 0c195567a8f6 ("netvsc: transparent VF management") Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions