Re: [PATCH net] net: dsa: Discard frames from unused ports

2018-04-06 Thread Andrew Lunn
On Thu, Apr 05, 2018 at 03:20:14PM -0700, Florian Fainelli wrote: > On 04/04/2018 07:17 PM, Andrew Lunn wrote: > > On Wed, Apr 04, 2018 at 05:49:10PM -0700, Florian Fainelli wrote: > >> On 04/04/2018 04:56 PM, Andrew Lunn wrote: > >>> The Marvell switches under some conditions will pass a frame to

Re: [PATCH net] net: dsa: Discard frames from unused ports

2018-04-05 Thread David Miller
From: Andrew Lunn Date: Thu, 5 Apr 2018 01:56:44 +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

Re: [PATCH net] net: dsa: Discard frames from unused ports

2018-04-05 Thread Florian Fainelli
On 04/04/2018 07:17 PM, Andrew Lunn wrote: > On Wed, Apr 04, 2018 at 05:49:10PM -0700, Florian Fainelli wrote: >> On 04/04/2018 04:56 PM, Andrew Lunn wrote: >>> The Marvell switches under some conditions will pass a frame to the >>> host with the port being the CPU port. Such frames are invalid,

Re: [PATCH net] net: dsa: Discard frames from unused ports

2018-04-04 Thread Andrew Lunn
On Wed, Apr 04, 2018 at 05:49:10PM -0700, Florian Fainelli wrote: > On 04/04/2018 04:56 PM, Andrew Lunn wrote: > > 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

Re: [PATCH net] net: dsa: Discard frames from unused ports

2018-04-04 Thread Florian Fainelli
On 04/04/2018 04:56 PM, Andrew Lunn wrote: > 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