summaryrefslogtreecommitdiff
path: root/samples/bpf/xdpsock_user.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-05-17 17:11:02 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-17 23:44:49 +0300
commita78622932c27e8ec33e5ba180f3d2e87fb806b28 (patch)
tree16ba4fb1fc64e9336d57c11cde5cbc3b728b9966 /samples/bpf/xdpsock_user.c
parent0e4364560361d57e8cd873a8990327f3471d7d8a (diff)
downloadlinux-a78622932c27e8ec33e5ba180f3d2e87fb806b28.tar.xz
bpf: sockmap, fix double-free
`e' is being freed twice. Fix this by removing one of the kfree() calls. Addresses-Coverity-ID: 1468983 ("Double free") Fixes: 81110384441a ("bpf: sockmap, add hash map support") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdpsock_user.c')
0 files changed, 0 insertions, 0 deletions