Re: [PATCH 2.6.19] net/dccp: set safe upper bound for option length

2006-09-22 Thread Gerrit Renker
Stupid me, it should read 4 * 255 = 1020, not 8 * 255; this is fixed below. -- diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 272e858..adabf3e 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -40,12 +40,17 @@ extern void dccp_tw_deschedule(struct in extern void dccp_time_wait(struct

Re: [PATCH 2.6.19] net/dccp: set safe upper bound for option length

2006-09-22 Thread Arnaldo Carvalho de Melo
On 9/22/06, Gerrit Renker <[EMAIL PROTECTED]> wrote: [DCCP]: current upper limit for option length is 128 bytes; much less than actually possible. This patch sets a safe upper bound on option length of 992, under worst-case assumptions. This patches against the 2.6.19 tree by David. Gerrit, co

[PATCH 2.6.19] net/dccp: set safe upper bound for option length

2006-09-22 Thread Gerrit Renker
[DCCP]: current upper limit for option length is 128 bytes; much less than actually possible. This patch sets a safe upper bound on option length of 992, under worst-case assumptions. This patches against the 2.6.19 tree by David. Signed-off-by: Gerrit Renker <[EMAIL PROTECTED]> --- dccp.h | 1