Re: [PATCH net-next 1/6] bridge: add rtnl_lock in fdb_flush in br_sysfs_br.c
From: Nikolay Aleksandrov <hidden> Date: 2016-03-16 13:55:49
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 <lucien.xin@gmail.com>
---
net/bridge/br_sysfs_br.c | 5 +++++
1 file changed, 5 insertions(+)
IIRC rtnl_notify() doesn't require rtnl lock to be held so this patch is not
needed