Re: [PATCH] net: sched: use temporary variable for actions indexes

2019-08-05 Thread David Miller
From: dmitro...@mellanox.com Date: Thu, 1 Aug 2019 13:02:51 + > From: Dmytro Linkin > > Currently init call of all actions (except ipt) init their 'parm' > structure as a direct pointer to nla data in skb. This leads to race > condition when some of the filter actions were initialized succe

Re: [PATCH] net: sched: use temporary variable for actions indexes

2019-08-01 Thread Cong Wang
On Thu, Aug 1, 2019 at 6:03 AM wrote: > > From: Dmytro Linkin > > Currently init call of all actions (except ipt) init their 'parm' > structure as a direct pointer to nla data in skb. This leads to race > condition when some of the filter actions were initialized successfully > (and were assigned

Re: [PATCH] net: sched: use temporary variable for actions indexes

2019-08-01 Thread Dmytro Linkin
On Thu, Aug 01, 2019 at 01:02:51PM +, dmitro...@mellanox.com wrote: > From: Dmytro Linkin > > Currently init call of all actions (except ipt) init their 'parm' > structure as a direct pointer to nla data in skb. This leads to race > condition when some of the filter actions were initialized s