Re: [PATCH net-next 1/6] bridge: add rtnl_lock in fdb_flush in br_sysfs_br.c

2016-03-19 Thread Nikolay Aleksandrov
On 03/16/2016 02:34 PM, Xin Long wrote: > In fdb_delete, it will send rtnl msg, so before that, we should > hold rtnl_lock in the function that call it in sysfs. > > Signed-off-by: Xin Long > --- > net/bridge/br_sysfs_br.c | 5 + > 1 file changed, 5 insertions(+) > IIRC rtnl_notify() doesn

[PATCH net-next 1/6] bridge: add rtnl_lock in fdb_flush in br_sysfs_br.c

2016-03-19 Thread Xin Long
In fdb_delete, it will send rtnl msg, so before that, we should hold rtnl_lock in the function that call it in sysfs. Signed-off-by: Xin Long --- net/bridge/br_sysfs_br.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index 6b80914..0