summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_gre.c
diff options
context:
space:
mode:
authorRichard Haines <richard_c_haines@btinternet.com>2017-06-05 16:44:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-14 15:05:52 +0200
commita97f807363d4f3c8c849a0e12064305d5bb5a6dc (patch)
tree321507bb552580aeb51fffff83e75c80251b77bf /net/ipv6/ip6_gre.c
parent0aa89f1b07de1e8a54f9073b0a48266e864c647e (diff)
net/ipv6: Fix CALIPSO causing GPF with datagram support
[ Upstream commit e3ebdb20fddacded2740a333ff66781e0d28b05c ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/ip6_gre.c')
0 files changed, 0 insertions, 0 deletions