[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170717.133859.1744044057315886326.davem@davemloft.net>
Date: Mon, 17 Jul 2017 13:38:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, dsahern@...il.com, brakmo@...com,
daniel@...earbox.net
Subject: Re: [Patch net] bpf: check NULL for sk_to_full_sk() return value
From: Cong Wang <xiyou.wangcong@...il.com>
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 <dsahern@...il.com>
> Tested-by: David Ahern <dsahern@...il.com>
> Cc: Lawrence Brakmo <brakmo@...com>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks.
Powered by blists - more mailing lists