cls_bpf: also dump TCA_BPF_FLAGS
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 23 Sep 2015 19:56:46 +0000 (21:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2015 21:29:01 +0000 (14:29 -0700)
commitbf007d1c75aceb4e8a407f325d42ee9958049a31
tree054800403a5e9500e6db8585bbda9984510993d9
parente1ffc0cd2c2698d272121fb85fcb012994c4112c
cls_bpf: also dump TCA_BPF_FLAGS

In commit 43388da42a49 ("cls_bpf: introduce integrated actions") we
have added TCA_BPF_FLAGS. We can also retrieve this information from
the prog, dump it back to user space as well. It's useful in tc when
displaying/dumping filter info.

Also, remove tp from cls_bpf_prog_from_efd(), came in as a conflict
from a rebase and it's unused here (later work may add it along with
a real user).

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_bpf.c