Re: [PATCH] net: ipv4: tcp_offload: check segs for NULL

2016-12-15 Thread Eric Dumazet
On Thu, 2016-12-15 at 14:17 +0530, shakya@samsung.com wrote: > From: Shakya Sundar Das > > 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. > > Signed-off-by: Sh

Re: [PATCH] net: ipv4: tcp_offload: check segs for NULL

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

[PATCH] net: ipv4: tcp_offload: check segs for NULL

2016-12-15 Thread shakya . das
From: Shakya Sundar Das 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. Signed-off-by: Shakya Sundar Das --- net/ipv4/tcp_offload.c |2 +- 1 file changed, 1 inser