Commit f7704347 authored by David S. Miller's avatar David S. Miller

[PKT_SCHED]: Make TEXTSEARCH* options only selected.

Do not present these confusing new options to the user
unless he picked some facility that makes use of it,
such as NET_EMATCH_TEXT.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3e112bc
...@@ -63,32 +63,16 @@ config REED_SOLOMON_ENC16 ...@@ -63,32 +63,16 @@ config REED_SOLOMON_ENC16
config REED_SOLOMON_DEC16 config REED_SOLOMON_DEC16
boolean boolean
#
# Textsearch support is select'ed if needed
#
config TEXTSEARCH config TEXTSEARCH
boolean "Textsearch infrastructure" boolean
default y
help
Say Y here if you want to provide a textsearch infrastructure
to other subsystems.
config TEXTSEARCH_KMP config TEXTSEARCH_KMP
depends on TEXTSEARCH tristate
tristate "Knuth-Morris-Pratt"
help
Say Y here if you want to be able to search text using the
Knuth-Morris-Pratt textsearch algorithm.
To compile this code as a module, choose M here: the
module will be called ts_kmp.
config TEXTSEARCH_FSM config TEXTSEARCH_FSM
depends on TEXTSEARCH tristate
tristate "Finite state machine"
help
Say Y here if you want to be able to search text using a
naive finite state machine approach implementing a subset
of regular expressions.
To compile this code as a module, choose M here: the
module will be called ts_fsm.
endmenu endmenu
...@@ -453,10 +453,11 @@ config NET_EMATCH_TEXT ...@@ -453,10 +453,11 @@ config NET_EMATCH_TEXT
tristate "Textsearch" tristate "Textsearch"
depends on NET_EMATCH depends on NET_EMATCH
select TEXTSEARCH select TEXTSEARCH
select TEXTSEARCH_KMP
select TEXTSEARCH_FSM
---help--- ---help---
Say Y here if you want to be ablt to classify packets based on Say Y here if you want to be ablt to classify packets based on
textsearch comparisons. Please select the appropriate textsearch textsearch comparisons.
algorithms in the Library section.
To compile this code as a module, choose M here: the To compile this code as a module, choose M here: the
module will be called em_text. module will be called em_text.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment