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

[PATCH net-next] selftests: tc-testing: Add pedit tests

2019-03-28 Thread Dmytro Linkin
sport & flags fields f1c8 - Add pedit action with LAYERED_OP udp set dport & sport d784 - Add pedit action with mixed RAW/LAYERED_OP #1 70ca - Add pedit action with mixed RAW/LAYERED_OP #2 Signed-off-by: Dmytro Linkin --- .../tc-testing/tc-tests/actions/pedit.json | 903 ++

[RFC PATCH net-next] selftests: tc-testing: Add pedit tests

2019-03-01 Thread Dmytro Linkin
sport & flags fields f1c8 - Add pedit action with LAYERED_OP udp set dport & sport d784 - Add pedit action with mixed RAW/LAYERED_OP #1 70ca - Add pedit action with mixed RAW/LAYERED_OP #2 Signed-off-by: Dmytro Linkin --- .../tc-testing/tc-tests/actions/pedit.json | 904 ++

[iproute2] tc/pedit: Fix wrong pedit ipv6 structure id

2019-02-27 Thread Dmytro Linkin
, and any third ip6 munge will cause infinite loop. Changing this id from "ipv6" to "ip6" solves the problem. Fixes: f3e1b2448a95 ("pedit: Introduce ipv6 support") Signed-off-by: Dmytro Linkin Reviewed-by: Roi Dayan --- tc/p_ip6.c | 2 +- 1 file changed, 1 insertion