]> 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)
commitca8ed3daf314606f3a60a53549ac897b885159c8
treee448be02f9d9683541f1396f7ccbea39a6d9099d
parent8a4827cf41c88b938159f3fb8ce7a1f1555465b9
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