Re: [PATCH net-next 02/11] ip6mr: Make mroute_sk rcu-based
From: Nikolay Aleksandrov <hidden>
Date: 2018-02-27 20:10:53
From: Nikolay Aleksandrov <hidden>
Date: 2018-02-27 20:10:53
On 27/02/18 20:58, Yuval Mintz wrote:
In ipmr the mr_table socket is handled under RCU. Introduce the same for ip6mr. Signed-off-by: Yuval Mintz <redacted> --- include/linux/mroute6.h | 6 +++--- net/ipv6/ip6_output.c | 2 +- net/ipv6/ip6mr.c | 45 +++++++++++++++++++++++++++------------------ 3 files changed, 31 insertions(+), 22 deletions(-)
LGTM, though do we need the write_lock when changing mroute6_sk after RCUfying it ? In any case that can be resolved later, Acked-by: Nikolay Aleksandrov <redacted>