aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/verifier/div_overflow.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2019-06-11 21:45:57 +0000
committerDaniel Borkmann <[email protected]>2019-06-12 14:38:20 +0000
commitf12dd75959b0138f94da8ddcf43f2f3cf277216d (patch)
treef855d145e55a98bc81e747f916df42bf43577b84 /tools/testing/selftests/bpf/verifier/div_overflow.c
parentbpf: lpm_trie: check left child of last leftmost node for NULL (diff)
downloadkernel-f12dd75959b0138f94da8ddcf43f2f3cf277216d.tar.gz
kernel-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 <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/div_overflow.c')
0 files changed, 0 insertions, 0 deletions