[lkml]   [2012]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] net/ipv6/exthdrs.c et al: Optional strict PadN option checking
From: Eldad Zack <>
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
> Signed-off-by: Eldad Zack <>

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

Either we want this or we don't.

 \ /
  Last update: 2012-04-07 14:53    [W:0.045 / U:1.540 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site