Re: [PATCH 1/1] tap: RCU usage and comment fixes

2018-08-19 Thread David Miller
From: Wang Jian Date: Fri, 17 Aug 2018 08:22:53 + > The tap_queue and the 'tap_dev' are loosely coupled, not 'macvlan_dev'. There is another reference to macvlan_dev in that comment, which is therefore also similarly inaccurate. You should add an appropriate Fixes: line for where this inacc

[PATCH 1/1] tap: RCU usage and comment fixes

2018-08-17 Thread Wang Jian
The tap_queue and the 'tap_dev' are loosely coupled, not 'macvlan_dev'. Taking rcu_read_lock a little later seems can slightly reduce rcu read critical section. Signed-off-by: Wang Jian --- drivers/net/tap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/