Re: [PATCH] net/ipv6/exthdrs.c et al: Optional strict PadN optionchecking

From: David Miller
Date: Sat Apr 07 2012 - 08:50:45 EST


From: Eldad Zack <eldad@xxxxxxxxxxxxxxx>
Date: Sat, 7 Apr 2012 12:44:27 +0200

> Added strict checking of PadN, which 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@xxxxxxxxxxxxxxx>

A sysctl _AND_ a kconfig option, give me a break, that's
pointless.

Either we want this or we don't.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/