diff options
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | 2018-08-31 10:00:49 +0900 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-09-01 01:36:08 +0200 |
commit | 11c3f5113600c40cc8789f9a7023e02b73cb0ca7 (patch) | |
tree | db25a98797cdf9ed1175c8dc435c6d90632ce1b0 /virt | |
parent | a29c8bb640ca13f5731510ceaf65a6e1fe6055c8 (diff) | |
download | linux-11c3f5113600c40cc8789f9a7023e02b73cb0ca7.tar.gz linux-11c3f5113600c40cc8789f9a7023e02b73cb0ca7.tar.bz2 linux-11c3f5113600c40cc8789f9a7023e02b73cb0ca7.zip |
samples/bpf: xdpsock, minor fixes
- xsks_map size was fixed to 4, changed it MAX_SOCKS
- Remove redundant definition of MAX_SOCKS in xdpsock_user.c
- In dump_stats(), add NULL check for xsks[i]
Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions