mbox series

[xtables-addons,v2,0/7] xt_ipp2p: support for non-linear packets

Message ID 20230605221044.140855-1-jeremy@azazel.net
Headers show
Series xt_ipp2p: support for non-linear packets | expand

Message

Jeremy Sowden June 5, 2023, 10:10 p.m. UTC
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(-)

Comments

Jan Engelhardt June 6, 2023, 12:26 p.m. UTC | #1
On Tuesday 2023-06-06 00:10, Jeremy Sowden wrote:

>xt_ipp2p currently requires that skb's are linear.  This series adds
>support for non-linear ones.

Applied. (Deleted some more whitespace.)