Re: [PATCH iproute2 -next] f_bpf: allow for optional classid and add flags

2015-10-12 Thread Stephen Hemminger
On Fri, 25 Sep 2015 12:32:41 +0200 Daniel Borkmann wrote: > When having optional classid, most minimal command can be sth > like: > > tc filter add dev foo parent X: bpf obj prog.o > > Therefore, adapt the code so that a next argument will not be > enforced as the case

Re: [PATCH iproute2 -next] f_bpf: allow for optional classid and add flags

2015-09-25 Thread Alexei Starovoitov
On 9/25/15 3:32 AM, Daniel Borkmann wrote: When having optional classid, most minimal command can be sth like: tc filter add dev foo parent X: bpf obj prog.o Therefore, adapt the code so that a next argument will not be enforced as the case currently. Also, minor cleanup on the classid,

[PATCH iproute2 -next] f_bpf: allow for optional classid and add flags

2015-09-25 Thread Daniel Borkmann
When having optional classid, most minimal command can be sth like: tc filter add dev foo parent X: bpf obj prog.o Therefore, adapt the code so that a next argument will not be enforced as the case currently. Also, minor cleanup on the classid, where we should rather have used addattr32(),