[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180408.103517.1213809560648788946.davem@davemloft.net>
Date: Sun, 08 Apr 2018 10:35:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
vivien.didelot@...oirfairelinux.com
Subject: Re: [PATCH v2 net] net: dsa: Discard frames from unused ports
From: Andrew Lunn <andrew@...n.ch>
Date: Sat, 7 Apr 2018 20:37:40 +0200
> The Marvell switches under some conditions will pass a frame to the
> host with the port being the CPU port. Such frames are invalid, and
> should be dropped. Not dropping them can result in a crash when
> incrementing the receive statistics for an invalid port.
>
> Reported-by: Chris Healy <cphealy@...il.com>
> Fixes: 91da11f870f0 ("net: Distributed Switch Architecture protocol support")
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> ---
> v2:
> Use an earlier revision for the fixes tag.
> Add unlikely annotation
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists