Re: [PATCH net] net: sched: act_sample: fix psample group handling on overwrite

2019-08-28 Thread David Miller
From: Vlad Buslov Date: Tue, 27 Aug 2019 21:49:38 +0300 > Action sample doesn't properly handle psample_group pointer in overwrite > case. Following issues need to be fixed: > > - In tcf_sample_init() function RCU_INIT_POINTER() is used to set > s->psample_group, even though we neither setting

[PATCH net] net: sched: act_sample: fix psample group handling on overwrite

2019-08-27 Thread Vlad Buslov
Action sample doesn't properly handle psample_group pointer in overwrite case. Following issues need to be fixed: - In tcf_sample_init() function RCU_INIT_POINTER() is used to set s->psample_group, even though we neither setting the pointer to NULL, nor preventing concurrent readers from acces