]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipxfrm.c
ip/xfrm: Extend SPI validity checking
authorDavid Ward <david.ward@ll.mit.edu>
Mon, 25 Mar 2013 04:23:13 +0000 (04:23 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 28 Mar 2013 21:40:45 +0000 (14:40 -0700)
commit1d26e1fefd379deffd76469deea8f1bb8c0fc2dd
tree83846d80b59c590ea2433c4701642cbb914d1a96
parent9c064b53323b5de28da43755e7cbcde788e46588
ip/xfrm: Extend SPI validity checking

A Security Policy Index (SPI) is not used with Mobile IPv6. IPComp
uses a smaller 16-bit Compression Parameter Index (CPI) which is
passed as the SPI value. Perform checks whenever specifying an ID.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
ip/ipxfrm.c
ip/xfrm_state.c