diff options
author | Martin KaFai Lau <kafai@fb.com> | 2019-06-11 14:45:57 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-12 16:38:20 +0200 |
commit | f12dd75959b0138f94da8ddcf43f2f3cf277216d (patch) | |
tree | f855d145e55a98bc81e747f916df42bf43577b84 /Kconfig | |
parent | da2577fdd0932ea4eefe73903f1130ee366767d2 (diff) | |
download | linux-stable-f12dd75959b0138f94da8ddcf43f2f3cf277216d.tar.gz linux-stable-f12dd75959b0138f94da8ddcf43f2f3cf277216d.tar.bz2 linux-stable-f12dd75959b0138f94da8ddcf43f2f3cf277216d.zip |
bpf: net: Set sk_bpf_storage back to NULL for cloned sk
The cloned sk should not carry its parent-listener's sk_bpf_storage.
This patch fixes it by setting it back to NULL.
Fixes: 6ac99e8f23d4 ("bpf: Introduce bpf sk local storage")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions