[Devel] [PATCH vz9] net/ve: move check if netdevice is allowed in VE

Nikita Yushchenko nikita.yushchenko at virtuozzo.com
Tue Feb 22 15:52:42 MSK 2022


> The check if netdevice registration is allowed inside VE uses netdev's
> feature words, that are configured in ndo_init for some netdev types
> (namely, vlan and gre). Move the check below ndo_init, to avoid
> use-before-init scenario.
> 
> Signed-off-by: Nikita Yushchenko <nikita.yushchenko at virtuozzo.com>

https://jira.sw.ru/browse/PSBM-138943


More information about the Devel mailing list