From: Jakub Sitnicki <j...@redhat.com>
Date: Tue,  5 Apr 2016 18:41:08 +0200

> When sending a UDPv6 message longer than MTU, account for the length
> of fragmentable IPv6 extension headers in skb->network_header offset.
> Same as we do in alloc_new_skb path in __ip6_append_data().
> 
> This ensures that later on __ip6_make_skb() will make space in
> headroom for fragmentable extension headers:
> 
>       /* move skb->data to ip header from ext header */
>       if (skb->data < skb_network_header(skb))
>               __skb_pull(skb, skb_network_offset(skb));
> 
> Prevents a splat due to skb_under_panic:
 ...
> Reported-by: Ji Jianwen <j...@redhat.com>
> Signed-off-by: Jakub Sitnicki <j...@redhat.com>
> Acked-by: Hannes Frederic Sowa <han...@stressinduktion.org>

Applied and queued up for -stable, thanks.

Reply via email to