From a73c7b77b5411703ce7f1f7240c01e1d483f25de Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Tue, 6 Jun 2023 00:10:44 +0900 Subject: [PATCH] xt_ipp2p: drop requirement that skb is linear It is no longer necessary. Signed-off-by: Jeremy Sowden --- extensions/xt_ipp2p.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/extensions/xt_ipp2p.c b/extensions/xt_ipp2p.c index 272223f..2962909 100644 --- a/extensions/xt_ipp2p.c +++ b/extensions/xt_ipp2p.c @@ -1258,13 +1258,6 @@ ipp2p_mt(const struct sk_buff *skb, struct xt_action_param *par) return 0; } - /* make sure that skb is linear */ - if (skb_is_nonlinear(skb)) { - if (info->debug) - printk("IPP2P.match: nonlinear skb found\n"); - return 0; - } - if (family == NFPROTO_IPV4) { const struct iphdr *ip = ip_hdr(skb); -- 2.47.2