From: Phil Oester Date: Mon, 26 Jun 2006 07:00:57 +0000 (-0700) Subject: [NET]: skb_find_text ignores to argument X-Git-Tag: v2.6.18-rc1~614^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f72b948dcbb8558d639214536c2ace1b0760f41d;p=pandora-kernel.git [NET]: skb_find_text ignores to argument 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 the "from" starting point. This consequently fixes the netfilter string match's "--to" handling, which currently is broken. Signed-off-by: Phil Oester Signed-off-by: David S. Miller --- Reading git-diff-tree failed