Thread (3 messages) flat view 3 messages, 3 authors, 2017-07-17

Re: [Patch net] bpf: check NULL for sk_to_full_sk() return value

From: David Miller <davem@davemloft.net>
Date: 2017-07-17 20:39:00

From: Cong Wang <redacted>
Date: Mon, 17 Jul 2017 11:42:55 -0700
When req->rsk_listener is NULL, sk_to_full_sk() returns
NULL too, so we have to check its return value against
NULL here.

Fixes: 40304b2a1567 ("bpf: BPF support for sock_ops")
Reported-by: David Ahern <redacted>
Tested-by: David Ahern <redacted>
Cc: Lawrence Brakmo <redacted>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Cong Wang <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help