[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161216.132730.1297195526327791354.davem@davemloft.net>
Date: Fri, 16 Dec 2016 13:27:30 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, vivien.didelot@...oirfairelinux.com
Subject: Re: [PATCH net] net: dsa: mv88e6xxx: Fix opps when adding vlan
bridge
From: Andrew Lunn <andrew@...n.ch>
Date: Sun, 11 Dec 2016 21:07:19 +0100
> A port is not necessarily assigned to a netdev. And a port does not
> need to be a member of a bridge. So when iterating over all ports,
> check before using the netdev and bridge_dev for a port. Otherwise we
> dereference a NULL pointer.
>
> Fixes: da9c359e19f0 ("net: dsa: mv88e6xxx: check hardware VLAN in use")
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Applied.
Powered by blists - more mailing lists