[Devel] [PATCH] ipv4: ip_do_fragment: fix headroom tests

David Miller davem at davemloft.net
Sun Jul 16 00:38:55 MSK 2017


From: Vasily Averin <vvs at virtuozzo.com>
Date: Fri, 14 Jul 2017 12:04:16 +0300

> Some time ago David Woodhouse reported skb_under_panic
> when we try to push ethernet header to fragmented ipv6 skbs.
> It was fixed for ipv6 by Florian Westphal in
> commit 1d325d217c7f ("ipv6: ip6_fragment: fix headroom tests and skb leak")
> 
> However similar problem still exist in ipv4.
> 
> It does not trigger skb_under_panic due paranoid check
> in ip_finish_output2, however according to Alexey Kuznetsov
> current state is abnormal and ip_fragment should be fixed too.
> 
> Signed-off-by: Vasily Averin <vvs at virtuozzo.com>

Applied, thank you.


More information about the Devel mailing list