lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 30 Oct 2023 14:25:42 -0700
From:   Jakub Kicinski <>
Cc:     "K. Y. Srinivasan" <>,
        Haiyang Zhang <>,
        Wei Liu <>, Dexuan Cui <>,
        "David S. Miller" <>,
        Eric Dumazet <>,
        Paolo Abeni <>,,,,
        Long Li <>
Subject: Re: [Patch v2] hv_netvsc: Mark VF as slave before exposing it to

On Fri, 27 Oct 2023 13:59:50 -0700 wrote:
> 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.

Can you give a real example in the commit message of a flow in user
space which would get confused by seeing the VF netdev without

You're only moving setting IFF_SLAVE but not linking the master,
is there no code which would assume that if SLAVE is set there 
is a master?

Powered by blists - more mailing lists