xt_ipp2p currently requires that skb's are linear. This series adds support for non-linear ones. * Patches 1 fixes a bug. * Patches 2-4 perform some tidy-ups. * Patch 5 introduces the kernel's textsearch API for doing substring matching. * Patches 6-7 add support for non-linear skb's. Changes since v1 * The first patch in v1 has been applied. * Rebased on to 38a85247cf5e ("xt_ipp2p: fix an off-by-one error"). Jeremy Sowden (7): xt_ipp2p: fix Soulseek false-positive matches xt_ipp2p: change byte-orer conversion xt_ipp2p: add helper for matching "\r\n" xt_ipp2p: rearrange some conditionals and a couple of loops xt_ipp2p: use textsearch API for substring searching xt_ipp2p: use `skb_header_pointer` and `skb_find_text` xt_ipp2p: drop requirement that skb is linear extensions/xt_ipp2p.c | 939 ++++++++++++++++++++++++++++++------------ extensions/xt_ipp2p.h | 10 + 2 files changed, 691 insertions(+), 258 deletions(-) -- 2.39.2