Re: [PATCH net-next] cls_bpf: reset class and reuse major in da

2016-03-18 Thread David Miller
From: Daniel Borkmann Date: Tue, 15 Mar 2016 22:41:22 +0100 > There are two issues with the current code. First one is that we need > to set res->class to 0 in case we use non-default classid matching. > > This is important for the case where cls_bpf was initially set up with > an optional bindi

[PATCH net-next] cls_bpf: reset class and reuse major in da

2016-03-15 Thread Daniel Borkmann
There are two issues with the current code. First one is that we need to set res->class to 0 in case we use non-default classid matching. This is important for the case where cls_bpf was initially set up with an optional binding to a default class with tcf_bind_filter(), where the underlying qdisc