Re: [PATCH] bridge: Allow set bridge ageing time when switchdev disabled

2016-03-30 Thread David Miller
From: Haishuang Yan Date: Tue, 29 Mar 2016 18:48:08 +0800 > When NET_SWITCHDEV=n, switchdev_port_attr_set will return -EOPNOTSUPP, > we should ignore this error code and continue to set the ageing time. > > Signed-off-by: Haishuang Yan

Re: [PATCH] bridge: Allow set bridge ageing time when switchdev disabled

2016-03-29 Thread Ido Schimmel
Tue, Mar 29, 2016 at 01:48:08PM IDT, yanhaishu...@cmss.chinamobile.com wrote: >When NET_SWITCHDEV=n, switchdev_port_attr_set will return -EOPNOTSUPP, >we should ignore this error code and continue to set the ageing time. > >Signed-off-by: Haishuang Yan Fixes:

[PATCH] bridge: Allow set bridge ageing time when switchdev disabled

2016-03-29 Thread Haishuang Yan
When NET_SWITCHDEV=n, switchdev_port_attr_set will return -EOPNOTSUPP, we should ignore this error code and continue to set the ageing time. Signed-off-by: Haishuang Yan --- net/bridge/br_stp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git