Skip to content
Commit e3ebdb20 authored by Richard Haines's avatar Richard Haines Committed by David S. Miller
Browse files

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: default avatarRichard Haines <richard_c_haines@btinternet.com>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarHuw Davies <huw@codeweavers.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 59423815
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment