diff options
author | Phil Oester <kernel@linuxace.com> | 2006-06-26 09:00:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-26 09:00:57 +0200 |
commit | f72b948dcbb8558d639214536c2ace1b0760f41d (patch) | |
tree | 5ff1c481585ed41fefc9f9b5a0a40991dc6ea30b /net/atm/mpc.c | |
parent | [NET]: make net/core/dev.c:netdev_nit static (diff) | |
download | linux-f72b948dcbb8558d639214536c2ace1b0760f41d.tar.xz linux-f72b948dcbb8558d639214536c2ace1b0760f41d.zip |
[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 <kernel@linuxace.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/mpc.c')
0 files changed, 0 insertions, 0 deletions