commit | 3ffaa8c7c0f884171a273cd2145b8fbbf233ba22 | [log] [tgz] |
---|---|---|
author | Michael Rash <mbr@cipherdyne.org> | Tue Aug 22 00:45:22 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Aug 22 14:33:58 2006 -0700 |
tree | 78529eb063987ea5f89980670c38c6cc7cba271b | |
parent | 316c1592bea94ead75301cb764523661fbbcc1ca [diff] |
[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> Signed-off-by: David S. Miller <davem@davemloft.net>