On 2016-12-15 at 09:47:41 +0100, [email protected] 
<[email protected]> wrote:
> From: Shakya Sundar Das <[email protected]>
> 
> This patch will check segs for being NULL in tcp_gso_segment()
> before calling skb_shinfo(segs) from skb_is_gso(segs), otherwise
> kernel can run into a NULL-pointer dereference.

How can segs ever be NULL here? skb_segment() will always either return
an skb or an ERR_PTR(err).

Reply via email to