Re: [PATCH net-next] sctp: also point GSO head_skb to the sk when it's available

2016-07-25 Thread David Miller
From: Marcelo Ricardo Leitner Date: Sat, 23 Jul 2016 00:33:44 -0300 > The head skb for GSO packets won't travel through the inner depths of > SCTP stack as it doesn't contain any chunks on it. That means skb->sk > doesn't get set and then when sctp_recvmsg() calls > sctp_inet6_skb_msgname() on th

[PATCH net-next] sctp: also point GSO head_skb to the sk when it's available

2016-07-22 Thread Marcelo Ricardo Leitner
The head skb for GSO packets won't travel through the inner depths of SCTP stack as it doesn't contain any chunks on it. That means skb->sk doesn't get set and then when sctp_recvmsg() calls sctp_inet6_skb_msgname() on the head_skb it panics, as this last needs to check flags at the socket (sp->v4m