aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-01-24 01:26:46 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-23 21:17:35 -0500
commitd140199af510ad4749dc5e38b7922135258ba5fd (patch)
tree808db68eb4959518023d42be3657e90162f28457 /security
parentMerge branch 'bpf-lpm' (diff)
downloadlinux-dev-d140199af510ad4749dc5e38b7922135258ba5fd.tar.xz
linux-dev-d140199af510ad4749dc5e38b7922135258ba5fd.zip
bpf, lpm: fix kfree of im_node in trie_update_elem
We need to initialize im_node to NULL, otherwise in case of error path it gets passed to kfree() as uninitialized pointer. Fixes: b95a5c4db09b ("bpf: add a longest prefix match trie map implementation") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions