diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-11-28 12:04:56 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-28 12:04:57 -0800 |
commit | 3771b822422fd999fbcd30c7e8302d251be0bb75 (patch) | |
tree | dff220c6f07f4dd175b55c44b9b0dfede7906ba1 /include/net | |
parent | 28d35ad0838b26038ec42aa129692e4c43663e6b (diff) | |
parent | 9a44bc9449cfe7e39dbadf537ff669fb007a9e63 (diff) | |
download | linux-3771b822422fd999fbcd30c7e8302d251be0bb75.tar.gz linux-3771b822422fd999fbcd30c7e8302d251be0bb75.tar.bz2 linux-3771b822422fd999fbcd30c7e8302d251be0bb75.zip |
Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says:
====================
pull-request: bpf 2020-11-28
1) Do not reference the skb for xsk's generic TX side since when looped
back into RX it might crash in generic XDP, from Björn Töpel.
2) Fix umem cleanup on a partially set up xsk socket when being destroyed,
from Magnus Karlsson.
3) Fix an incorrect netdev reference count when failing xsk_bind() operation,
from Marek Majtyka.
4) Fix bpftool to set an error code on failed calloc() in build_btf_type_table(),
from Zhen Lei.
* https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
bpf: Add MAINTAINERS entry for BPF LSM
bpftool: Fix error return value in build_btf_type_table
net, xsk: Avoid taking multiple skbuff references
xsk: Fix incorrect netdev reference count
xsk: Fix umem cleanup bug at socket destruct
MAINTAINERS: Update XDP and AF_XDP entries
====================
Link: https://lore.kernel.org/r/20201128005104.1205-1-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/xdp_sock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/xdp_sock.h b/include/net/xdp_sock.h index 1a9559c0cbdd..4f4e93bf814c 100644 --- a/include/net/xdp_sock.h +++ b/include/net/xdp_sock.h @@ -31,6 +31,7 @@ struct xdp_umem { struct page **pgs; int id; struct list_head xsk_dma_list; + struct work_struct work; }; struct xsk_map { |