Re: [PATCH] skb_find_text ignores to argument

2006-06-26 Thread David Miller
From: Phil Oester <[EMAIL PROTECTED]> Date: Sun, 25 Jun 2006 07:52:00 -0700 > skb_find_text takes a "to" argument which is supposed to limit how > far into the skb it will search for the given text. At present, > it seems to ignore that argument on the first skb, and instead > return a match even

[PATCH] skb_find_text ignores to argument

2006-06-25 Thread Phil Oester
skb_find_text takes a "to" argument which is supposed to limit how far into the skb it will search for the given text. At present, it seems to ignore that argument on the first skb, and instead return a match even if the text occurs beyond the limit. Patch below fixes this, after adjusting for th