diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2012-04-12 17:36:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-12 17:36:44 -0400 |
commit | c1412fce7eccae62b4de22494f6ab3ff8a90c0c6 (patch) | |
tree | 57ac851f1858a7641cc3a83c486491d4ed1bcd18 /fs/gfs2/aops.c | |
parent | 46ba5b23c32667821b748b4e0b74667e750621cd (diff) |
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 'fs/gfs2/aops.c')
0 files changed, 0 insertions, 0 deletions