kernel_optimize_test/net/dsa
Vivien Didelot 57a47532c4 net: dsa: fix preparation of a port STP update
Because of the default 0 value of ret in dsa_slave_port_attr_set, a
driver may return -EOPNOTSUPP from the commit phase of a STP state,
which triggers a WARN() from switchdev.

This happened on a 6185 switch which does not support hardware bridging.

Fixes: 3563606258 ("switchdev: convert STP update to switchdev attr set")
Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-29 21:36:01 -07:00
..
dsa_priv.h
dsa.c net: fix net_device refcounting 2015-09-24 23:04:53 -07:00
Kconfig
Makefile
slave.c net: dsa: fix preparation of a port STP update 2015-09-29 21:36:01 -07:00
tag_brcm.c
tag_dsa.c
tag_edsa.c
tag_trailer.c net: dsa: Fix Marvell Egress Trailer check 2015-09-22 17:37:03 -07:00