Re: [PATCH net 1/1] net sched filters: pass netlink message flags in event notification

2016-11-22 Thread Roman Mashak
Daniel Borkmann writes: > On 11/22/2016 06:23 AM, Cong Wang wrote: >> On Thu, Nov 17, 2016 at 1:02 PM, Cong Wang wrote: >>> On Wed, Nov 16, 2016 at 2:16 PM, Roman Mashak wrote: Userland client should be able to read an event, and reflect it back to the kernel, therefore it needs to ex

Re: [PATCH net 1/1] net sched filters: pass netlink message flags in event notification

2016-11-22 Thread Daniel Borkmann
On 11/22/2016 06:23 AM, Cong Wang wrote: On Thu, Nov 17, 2016 at 1:02 PM, Cong Wang wrote: On Wed, Nov 16, 2016 at 2:16 PM, Roman Mashak wrote: Userland client should be able to read an event, and reflect it back to the kernel, therefore it needs to extract complete set of netlink flags. For

Re: [PATCH net 1/1] net sched filters: pass netlink message flags in event notification

2016-11-21 Thread Cong Wang
On Thu, Nov 17, 2016 at 1:02 PM, Cong Wang wrote: > On Wed, Nov 16, 2016 at 2:16 PM, Roman Mashak wrote: >> Userland client should be able to read an event, and reflect it back to >> the kernel, therefore it needs to extract complete set of netlink flags. >> >> For example, this will allow "tc mo

Re: [PATCH net 1/1] net sched filters: pass netlink message flags in event notification

2016-11-17 Thread Cong Wang
On Wed, Nov 16, 2016 at 2:16 PM, Roman Mashak wrote: > Userland client should be able to read an event, and reflect it back to > the kernel, therefore it needs to extract complete set of netlink flags. > > For example, this will allow "tc monitor" to distinguish Add and Replace > operations. > > S

Re: [PATCH net 1/1] net sched filters: pass netlink message flags in event notification

2016-11-17 Thread David Miller
From: Roman Mashak Date: Wed, 16 Nov 2016 17:16:10 -0500 > Userland client should be able to read an event, and reflect it back to > the kernel, therefore it needs to extract complete set of netlink flags. > > For example, this will allow "tc monitor" to distinguish Add and Replace > operations.

[PATCH net 1/1] net sched filters: pass netlink message flags in event notification

2016-11-16 Thread Roman Mashak
Userland client should be able to read an event, and reflect it back to the kernel, therefore it needs to extract complete set of netlink flags. For example, this will allow "tc monitor" to distinguish Add and Replace operations. Signed-off-by: Roman Mashak Signed-off-by: Jamal Hadi Salim ---