Re: [PATCH v2 net-next] net: adjust skb->truesize in pskb_expand_head()

2017-01-27 Thread David Miller
From: Eric Dumazet Date: Fri, 27 Jan 2017 07:11:27 -0800 > From: Eric Dumazet > > Slava Shwartsman reported a warning in skb_try_coalesce(), when we > detect skb->truesize is completely wrong. > > In his case, issue came from IPv6 reassembly coping with malicious > datagrams, that forced vario

[PATCH v2 net-next] net: adjust skb->truesize in pskb_expand_head()

2017-01-27 Thread Eric Dumazet
From: Eric Dumazet Slava Shwartsman reported a warning in skb_try_coalesce(), when we detect skb->truesize is completely wrong. In his case, issue came from IPv6 reassembly coping with malicious datagrams, that forced various pskb_may_pull() to reallocate a bigger skb->head than the one allocate