Eric Dumazet 4109a2c3b9 tipc: tipc_udp_recv() cleanup vs rcu verbs
First thing tipc_udp_recv() does is to use rcu_dereference_sk_user_data(),
and this is really hinting we already own rcu_read_lock() from the caller
(UDP stack).

No need to add another rcu_read_lock()/rcu_read_unlock() pair.

Also use rcu_dereference() instead of rcu_dereference_rtnl()
in the data path.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jon Maloy <jon.maloy@ericsson.com>
Cc: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-24 11:46:54 -07:00
..
2019-04-19 14:07:40 -07:00
2019-04-21 10:37:26 -07:00
2019-04-10 12:20:46 -07:00
2019-04-19 14:07:40 -07:00
2018-11-10 16:55:11 -08:00
2019-04-22 21:47:25 -07:00
2019-02-21 16:23:56 -08:00
2019-04-19 14:07:40 -07:00
2019-04-19 14:07:40 -07:00