Files
twx-linux/drivers
Sabrina Dubroca 6e682c528b geneve: avoid use-after-free of skb->data
[ Upstream commit 5b01014759 ]

geneve{,6}_build_skb can end up doing a pskb_expand_head(), which
makes the ip_hdr(skb) reference we stashed earlier stale. Since it's
only needed as an argument to ip_tunnel_ecn_encap(), move this
directly in the function call.

Fixes: 08399efc63 ("geneve: ensure ECN info is handled properly in all tx/rx paths")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-12-10 19:07:24 +01:00
..
…
…
…
…
…
…
…
…
…
…
2016-11-26 09:54:52 +01:00
…
…
…
2016-09-24 10:07:35 +02:00
…
2016-11-18 10:48:34 +01:00
…
…
…
…
…
…
2016-12-08 07:15:24 +01:00
…
2016-11-26 09:54:53 +01:00
…
…
…
…
…
…
…
2016-11-26 09:54:53 +01:00
…
…
…
…
…
…