summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2012-04-12 17:36:17 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-12 17:36:44 -0400
commitc1412fce7eccae62b4de22494f6ab3ff8a90c0c6 (patch)
tree57ac851f1858a7641cc3a83c486491d4ed1bcd18 /crypto
parent46ba5b23c32667821b748b4e0b74667e750621cd (diff)
downloadlinux-3.10-c1412fce7eccae62b4de22494f6ab3ff8a90c0c6.tar.gz
linux-3.10-c1412fce7eccae62b4de22494f6ab3ff8a90c0c6.tar.bz2
linux-3.10-c1412fce7eccae62b4de22494f6ab3ff8a90c0c6.zip
net/ipv6/exthdrs.c: Strict PadN option checking
Added strict checking of PadN, as PadN can be used to increase header size and thus push the protocol header into the 2nd fragment. PadN is used to align the options within the Hop-by-Hop or Destination Options header to 64-bit boundaries. The maximum valid size is thus 7 bytes. RFC 4942 recommends to actively check the "payload" itself and ensure that it contains only zeroes. See also RFC 4942 section 2.1.9.5. Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions