diff options
author | Michael Rash <mbr@cipherdyne.org> | 2006-08-22 04:07:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-08 14:51:36 -0700 |
commit | 940d7bceb97c8989e700de946b0514acc9b739c5 (patch) | |
tree | d29a1d67d562e22313e81c9726618c2ab7e46b05 /net | |
parent | d2350c2ad1463a973b586cadb49c2fa0c83089b8 (diff) |
TEXTSEARCH: Fix Boyer Moore initialization bug
[TEXTSEARCH]: Fix Boyer Moore initialization bug
The pattern is set after trying to compute the prefix table, which tries
to use it. Initialize it before calling compute_prefix_tbl, make
compute_prefix_tbl consistently use only the data from struct ts_bm
and remove the now unnecessary arguments.
Signed-off-by: Michael Rash <mbr@cipherdyne.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions