Re: [PATCH net-next] tipc: use rcu dereference functions properly

2019-07-07 Thread David Miller
From: David Miller Date: Sat, 06 Jul 2019 15:15:44 -0700 (PDT) > From: Xin Long > Date: Sat, 6 Jul 2019 14:48:48 +0800 > >> Hi, David, I saw this patch in "Changes Requested". > > I just put it back to Under Review, thanks. Applied to net-next, thank you.

Re: [PATCH net-next] tipc: use rcu dereference functions properly

2019-07-06 Thread David Miller
From: Xin Long Date: Sat, 6 Jul 2019 14:48:48 +0800 > Hi, David, I saw this patch in "Changes Requested". I just put it back to Under Review, thanks.

Re: [PATCH net-next] tipc: use rcu dereference functions properly

2019-07-05 Thread Xin Long
On Wed, Jul 3, 2019 at 4:33 PM Xin Long wrote: > > On Wed, Jul 3, 2019 at 6:08 AM David Miller wrote: > > > > From: Xin Long > > Date: Tue, 2 Jul 2019 00:54:55 +0800 > > > > > For these places are protected by rcu_read_lock, we change from > > > rcu_dereference_rtnl to rcu_dereference, as there

Re: [PATCH net-next] tipc: use rcu dereference functions properly

2019-07-03 Thread Xin Long
On Wed, Jul 3, 2019 at 6:08 AM David Miller wrote: > > From: Xin Long > Date: Tue, 2 Jul 2019 00:54:55 +0800 > > > For these places are protected by rcu_read_lock, we change from > > rcu_dereference_rtnl to rcu_dereference, as there is no need to > > check if rtnl lock is held. > > > > For these

Re: [PATCH net-next] tipc: use rcu dereference functions properly

2019-07-02 Thread David Miller
From: Xin Long Date: Tue, 2 Jul 2019 00:54:55 +0800 > For these places are protected by rcu_read_lock, we change from > rcu_dereference_rtnl to rcu_dereference, as there is no need to > check if rtnl lock is held. > > For these places are protected by rtnl_lock, we change from > rcu_dereference

[PATCH net-next] tipc: use rcu dereference functions properly

2019-07-01 Thread Xin Long
For these places are protected by rcu_read_lock, we change from rcu_dereference_rtnl to rcu_dereference, as there is no need to check if rtnl lock is held. For these places are protected by rtnl_lock, we change from rcu_dereference_rtnl to rtnl_dereference/rcu_dereference_protected, as no extra me