net: xsk: track AF_XDP sockets on a per-netns list
authorBjörn Töpel <bjorn.topel@intel.com>
Thu, 24 Jan 2019 18:59:37 +0000 (19:59 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 25 Jan 2019 00:50:03 +0000 (01:50 +0100)
commit1d0dc06930a917eaca4156193c6c49f798b95ce7
tree135d2cef69bf73b12ed394b63a0a57fa8929b3c8
parent2f0921262ba943fe9d9f59037a033927d8c4789b
net: xsk: track AF_XDP sockets on a per-netns list

Track each AF_XDP socket in a per-netns list. This will be used later
by the sock_diag interface for querying sockets from userspace.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/net_namespace.h
include/net/netns/xdp.h [new file with mode: 0644]
net/xdp/xsk.c