Re: [PATCH] Socket filter instruction limit validation

2005-12-27 Thread David S. Miller
From: "Kris Katterjohn" <[EMAIL PROTECTED]> Date: Tue, 6 Dec 2005 02:36:06 -0800 > This patch checks to make sure that the number of instructions doesn't surpass > BPF_MAXINSNS in sk_chk_filter(). > > Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> I added your patch, and removed the check on

[PATCH] Socket filter instruction limit validation

2005-12-06 Thread Kris Katterjohn
This patch checks to make sure that the number of instructions doesn't surpass BPF_MAXINSNS in sk_chk_filter(). Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> --- This is a diff from 2.6.15-rc5. And I am not subscribed, so please CC me on any replies. The previous check in sk_chk_filter() d