lists.openwall.net   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] [day] [month] [year] [list]
Date: Mon, 13 May 2024 16:00:27 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jiawen Wu <jiawenwu@...stnetic.com>
Cc: davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
 linux@...linux.org.uk, horms@...nel.org, andrew@...n.ch,
 netdev@...r.kernel.org, mengyuanlou@...-swift.com, Sai Krishna
 <saikrishnag@...vell.com>
Subject: Re: [PATCH net v3 2/3] net: wangxun: match VLAN CTAG and STAG
 features

On Fri, 10 May 2024 14:17:50 +0800 Jiawen Wu wrote:
> Hardware requires VLAN CTAG and STAG configuration always matches. And
> whether VLAN CTAG or STAG changes, the configuration needs to be changed
> as well.

With this patch the resulting configuration will depend on the order of
actions. Basically the features will be disable if the last action is
either stag or ctag disable. This may cause to subtle bugs if some
refactoring changes the order of enable and disable.

It'd be better to turn both features on if _either_ feature was
requested. And require that _both_ are disabled before disabling.
-- 
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ