[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180529.100835.1891188861153508596.davem@davemloft.net>
Date: Tue, 29 May 2018 10:08:35 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, jiri@...lanox.com, petrm@...lanox.com,
mlxsw@...lanox.com
Subject: Re: [PATCH net] mlxsw: spectrum: Forbid creation of VLAN 1 over
port/LAG
From: Ido Schimmel <idosch@...lanox.com>
Date: Sun, 27 May 2018 09:48:41 +0300
> From: Petr Machata <petrm@...lanox.com>
>
> VLAN 1 is internally used for untagged traffic. Prevent creation of
> explicit netdevice for that VLAN, because that currently isn't supported
> and leads to the NULL pointer dereference cited below.
>
> Fix by preventing creation of VLAN devices with VID of 1 over mlxsw
> devices or LAG devices that involve mlxsw devices.
...
> Fixes: 9589a7b5d7d9 ("mlxsw: spectrum: Handle VLAN devices linking / unlinking")
> Suggested-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Petr Machata <petrm@...lanox.com>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists