[PATCH bpf 0/5] BPF sockmap and ulp fixes

Daniel Borkmann
2018-08-16T22:49:42Z

Batch of various fixes related to BPF sockmap and ULP, including
adding module alias to restrict module requests, races and memory
leaks in sockmap code. For details please refer to the individual
patches. Thanks!

Daniel Borkmann (5):
tcp, ulp: add alias for all ulp modules
tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattach
bpf, sockmap: fix leakage of smap_psock_map_entry
bpf, sockmap: fix map elem deletion race with smap_stop_sock
bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexist

include/net/tcp.h | 4 ++
kernel/bpf/sockmap.c | 120 +++++++++++++++++++++++++++++----------------------
net/ipv4/tcp_ulp.c | 4 +-
net/tls/tls_main.c | 1 +
4 files changed, 76 insertions(+), 53 deletions(-)

--
2.9.5