Re: [PATCH 2/2] bpf: sockmap, fix double-free

2018-05-17 Thread John Fastabend
On 05/17/2018 07:11 AM, Gustavo A. R. Silva wrote: > `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

Re: [PATCH 2/2] bpf: sockmap, fix double-free

2018-05-17 Thread John Fastabend
On 05/17/2018 07:11 AM, Gustavo A. R. Silva wrote: > `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 > --- >

[PATCH 2/2] bpf: sockmap, fix double-free

2018-05-17 Thread Gustavo A. R. Silva
`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 --- kernel/bpf/sockmap.c | 1 - 1 file changed, 1

[PATCH 2/2] bpf: sockmap, fix double-free

2018-05-17 Thread Gustavo A. R. Silva
`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 --- kernel/bpf/sockmap.c | 1 - 1 file changed, 1 deletion(-) diff --git