xt_ipp2p currently requires that skb's are linear. This series adds support for non-linear ones. * Patches 1-2 fix bugs. * Patches 3-5 perform some tidy-ups. * Patch 6 introduces the kernel's textsearch API for doing substring matching. * Patches 7-8 add support for non-linear skb's. Jeremy Sowden (8): xt_ipp2p: fix an off-by-one error 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 | 937 ++++++++++++++++++++++++++++++------------ extensions/xt_ipp2p.h | 10 + 2 files changed, 689 insertions(+), 258 deletions(-) -- 2.39.2