Re: [PATCH iproute2 -master] f_bpf: fix filling of handle when no further arg is provided

2016-05-23 Thread Stephen Hemminger
On Wed, 18 May 2016 11:58:41 +0200 Daniel Borkmann wrote: > We need to fill handle when provided by the user, even if no further > argument is provided. Thus, move the test for arg to the correct location, > so that it works correctly: > > # tc filter show dev foo egress > filter protocol al

[PATCH iproute2 -master] f_bpf: fix filling of handle when no further arg is provided

2016-05-18 Thread Daniel Borkmann
We need to fill handle when provided by the user, even if no further argument is provided. Thus, move the test for arg to the correct location, so that it works correctly: # tc filter show dev foo egress filter protocol all pref 1 bpf filter protocol all pref 1 bpf handle 0x1 bpf.o:[classifi