All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: andrew@lunn.ch
Cc: stable@vger.kernel.org, f.fainelli@gmail.com, cphealy@gmail.com
Subject: Re: [PATCH v4.14] net: dsa: Discard frames from unused ports
Date: Tue, 17 Apr 2018 23:27:54 -0400 (EDT)	[thread overview]
Message-ID: <20180417.232754.1078619169780049583.davem@davemloft.net> (raw)
In-Reply-To: <1524002373-20456-1-git-send-email-andrew@lunn.ch>

From: Andrew Lunn <andrew@lunn.ch>
Date: Tue, 17 Apr 2018 23:59:33 +0200

> [ Upstream commit fc5f33768cca7144f8d793205b229d46740d183b ]
> 
> 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.
> 
> This has been reworked for 4.14, which does not have the central
> dsa_master_find_slave() function, so each tag driver needs to check.
> 
> Reported-by: Chris Healy <cphealy@gmail.com>
> Fixes: 91da11f870f0 ("net: Distributed Switch Architecture protocol support")
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>

Stable folks, please queue up this backport for 4.14 stable.

Thanks!

  reply	other threads:[~2018-04-18  3:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17 21:59 [PATCH v4.14] net: dsa: Discard frames from unused ports Andrew Lunn
2018-04-18  3:27 ` David Miller [this message]
2018-04-22  9:42   ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180417.232754.1078619169780049583.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=andrew@lunn.ch \
    --cc=cphealy@gmail.com \
    --cc=f.fainelli@gmail.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.