Re: [PATCH 4.19 52/66] net: sched: bump refcount for new action in ACT replace mode

2021-04-13 Thread Sudip Mukherjee
Hi Greg, On Mon, Apr 12, 2021 at 10:40:58AM +0200, Greg Kroah-Hartman wrote: > From: Kumar Kartikeya Dwivedi > > commit 6855e8213e06efcaf7c02a15e12b1ae64b9a7149 upstream. This has been reverted upstream by: 4ba86128ba07 ("Revert "net: sched: bump refcount for new action in ACT replace mode"")

[PATCH 4.19 52/66] net: sched: bump refcount for new action in ACT replace mode

2021-04-12 Thread Greg Kroah-Hartman
From: Kumar Kartikeya Dwivedi commit 6855e8213e06efcaf7c02a15e12b1ae64b9a7149 upstream. Currently, action creation using ACT API in replace mode is buggy. When invoking for non-existent action index 42, tc action replace action bpf obj foo.o sec index 42 kernel creates the action, fil