diff options
author | Richard Haines <richard_c_haines@btinternet.com> | 2017-06-05 16:44:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 15:18:20 -0400 |
commit | e3ebdb20fddacded2740a333ff66781e0d28b05c (patch) | |
tree | 09a5abbbaf8b95512c9eb5d3ab6f82a500179660 /drivers/net/ethernet/renesas | |
parent | 594238158bf748c285f0a73222cd9b7ccf3c525d (diff) | |
download | linux-e3ebdb20fddacded2740a333ff66781e0d28b05c.tar.gz linux-e3ebdb20fddacded2740a333ff66781e0d28b05c.tar.bz2 linux-e3ebdb20fddacded2740a333ff66781e0d28b05c.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/renesas')
0 files changed, 0 insertions, 0 deletions