netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] DSA tagging mismatches
@ 2014-10-24 21:44 Andrew Lunn
  2014-10-24 21:44 ` [PATCH v2 1/2] net: dsa: Error out on tagging protocol mismatches Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrew Lunn @ 2014-10-24 21:44 UTC (permalink / raw)
  To: davem; +Cc: f.fainelli, netdev, Andrew Lunn

The second patch is a fix, which should be applied to -rc. It is
possible to get a DSA configuration which does not work. The patch
stops this happening.

The first patch detects this situation, and errors out the probe of
DSA, making it more obvious something is wrong. It is not required to
apply it -rc.


v2 fixes the use case pointed out by Florian, that a switch driver
may use DSA_TAG_PROTO_NONE which the patch did not correctly handle.

Andrew Lunn (2):
  net: dsa: Error out on tagging protocol mismatches
  dsa: mv88e6171: Fix tagging protocol/Kconfig

 drivers/net/dsa/mv88e6171.c | 2 +-
 net/dsa/dsa.c               | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.1.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-28 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 21:44 [PATCH v2 0/2] DSA tagging mismatches Andrew Lunn
2014-10-24 21:44 ` [PATCH v2 1/2] net: dsa: Error out on tagging protocol mismatches Andrew Lunn
2014-10-24 22:42   ` Florian Fainelli
2014-10-24 21:44 ` [PATCH v2 2/2] dsa: mv88e6171: Fix tagging protocol/Kconfig Andrew Lunn
2014-10-24 22:45   ` Florian Fainelli
2014-10-28 19:28 ` [PATCH v2 0/2] DSA tagging mismatches David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).