aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2019-11-01 12:03:44 +0100
committerDaniel Borkmann <[email protected]>2019-11-02 00:38:49 +0100
commit64fe8c061de7d7ffdfdc104a57d48d645ae0ac4f (patch)
tree874762fd9e7687d0218d8603329090abea2b71cc /kernel/bpf/syscall.c
parent75b0bfd2e1a7d0c698b617f5e5ceaf056bdcaef7 (diff)
xsk: Store struct xdp_sock as a flexible array member of the XSKMAP
Prior this commit, the array storing XDP socket instances were stored in a separate allocated array of the XSKMAP. Now, we store the sockets as a flexible array member in a similar fashion as the arraymap. Doing so, we do less pointer chasing in the lookup. Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Jonathan Lemon <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions