]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca133cba1e13677bea7593201d4593f37b35c163
treee448be02f9d9683541f1396f7ccbea39a6d9099d
parentd7a089f7f8316ad64c176afdc736d5014585238c
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