Re: [PATCH 5.4 097/111] net: sched: bump refcount for new action in ACT replace mode

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 12:51:10PM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 13, 2021 at 11:36:57AM +0100, Sudip Mukherjee wrote: > > Hi Greg, > > > > On Mon, Apr 12, 2021 at 10:41:15AM +0200, Greg Kroah-Hartman wrote: > > > From: Kumar Kartikeya Dwivedi > > > > > > commit

Re: [PATCH 5.4 097/111] net: sched: bump refcount for new action in ACT replace mode

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 11:36:57AM +0100, Sudip Mukherjee wrote: > Hi Greg, > > On Mon, Apr 12, 2021 at 10:41:15AM +0200, Greg Kroah-Hartman wrote: > > From: Kumar Kartikeya Dwivedi > > > > commit 6855e8213e06efcaf7c02a15e12b1ae64b9a7149 upstream. > > This has been reverted upstream by: >

Re: [PATCH 5.4 097/111] 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:41:15AM +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 5.4 097/111] 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,