samples/bpf: Add option to dump socket settings
authorDavid Ahern <dsahern@gmail.com>
Thu, 31 Aug 2017 22:05:48 +0000 (15:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 05:05:15 +0000 (06:05 +0100)
commitf776d460b8d25c5319b7dbc4ffd4d5fbbc10e7c1
treee448be02f9d9683541f1396f7ccbea39a6d9099d
parent609b1c32752de65134a4e4e2ceb3933790463723
samples/bpf: Add option to dump socket settings

Add option to dump socket settings. Will be used in the next patch
to verify bpf programs are correctly setting mark, priority and
device based on the cgroup attachment for the program run.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/test_cgrp2_sock.c