Re: [PATCH net] mlxsw: spectrum_router: Fix NULL pointer dereference

2017-06-29 Thread David Miller
From: Ido Schimmel Date: Wed, 28 Jun 2017 09:03:12 +0300 > In case a VLAN device is enslaved to a bridge we shouldn't create a > router interface (RIF) for it when it's configured with an IP address. > This is already handled by the driver for other types of netdevs, such > as physical ports and

[PATCH net] mlxsw: spectrum_router: Fix NULL pointer dereference

2017-06-27 Thread Ido Schimmel
In case a VLAN device is enslaved to a bridge we shouldn't create a router interface (RIF) for it when it's configured with an IP address. This is already handled by the driver for other types of netdevs, such as physical ports and LAG devices. If this IP address is then removed and the interface