Richard Haines e3ebdb20fd net/ipv6: Fix CALIPSO causing GPF with datagram support
When using CALIPSO with IPPROTO_UDP it is possible to trigger a GPF as the
IP header may have moved.

Also update the payload length after adding the CALIPSO option.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-06 15:18:20 -04:00
..
2017-04-24 07:56:31 +02:00
2016-09-10 23:12:51 -07:00
2017-03-27 16:05:06 -07:00
2017-02-15 11:04:11 +01:00
2016-12-25 17:21:23 +01:00
2017-06-04 22:56:55 -04:00
2017-06-04 22:56:55 -04:00
2017-06-06 11:34:06 -04:00
2016-06-27 15:06:17 -04:00
2015-11-03 10:52:13 -05:00
2017-02-15 11:04:11 +01:00