summaryrefslogtreecommitdiff
path: root/lib/idr.c
diff options
context:
space:
mode:
authorMichael Rash <mbr@cipherdyne.org>2006-09-18 21:26:29 +0400
committerAdrian Bunk <bunk@stusta.de>2006-09-18 21:26:29 +0400
commitec2ffcb891b9a2d00deb38177e1267516ff2be15 (patch)
treeaaf9e69ff34064c2912605841279c324010a5b78 /lib/idr.c
parentd03460d51e14fb5a57615a82edd93be97d90f930 (diff)
downloadlinux-ec2ffcb891b9a2d00deb38177e1267516ff2be15.tar.xz
[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: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions