commit | e3ebdb20fddacded2740a333ff66781e0d28b05c | [log] [tgz] |
---|---|---|
author | Richard Haines <richard_c_haines@btinternet.com> | Mon Jun 05 16:44:40 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 06 15:18:20 2017 -0400 |
tree | 09a5abbbaf8b95512c9eb5d3ab6f82a500179660 | |
parent | 594238158bf748c285f0a73222cd9b7ccf3c525d [diff] |
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>