On 2016-12-15 at 09:47:41 +0100, shakya....@samsung.com <shakya....@samsung.com> wrote: > From: Shakya Sundar Das <shakya....@samsung.com> > > 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).