Re: [PATCH net-next 1/1] ipv6: sr: fix BUG due to headroom too small after SRH push

2017-04-17 Thread David Miller
From: David Lebrun Date: Sun, 16 Apr 2017 12:27:14 +0200 > When a locally generated packet receives an SRH with two or more segments, > the remaining headroom is too small to push an ethernet header. This patch > ensures that the headroom is large enough after SRH push. > > The BUG generated the

[PATCH net-next 1/1] ipv6: sr: fix BUG due to headroom too small after SRH push

2017-04-16 Thread David Lebrun
When a locally generated packet receives an SRH with two or more segments, the remaining headroom is too small to push an ethernet header. This patch ensures that the headroom is large enough after SRH push. The BUG generated the following trace. [ 192.950285] skbuff: skb_under_panic: text:f