]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_ipp2p: change text-search algo to KMP
authorJeremy Sowden <jeremy@azazel.net>
Mon, 12 Jun 2023 17:31:33 +0000 (19:31 +0200)
committerJan Engelhardt <jengelh@inai.de>
Tue, 13 Jun 2023 01:02:19 +0000 (03:02 +0200)
commit2f61784c7a757742802cf155feb5ff58e098c253
tree4375ef0f42c4b72c8893c100859bc6c296ec1bd8
parenta73c7b77b5411703ce7f1f7240c01e1d483f25de
xt_ipp2p: change text-search algo to KMP

The kernel's Boyer-Moore text-search implementation may miss matches in
non-linear skb's, so use Knuth-Morris-Pratt instead.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/xt_ipp2p.c