From: Jeremy Sowden Date: Mon, 5 Jun 2023 15:10:44 +0000 (+0900) Subject: xt_ipp2p: drop requirement that skb is linear X-Git-Tag: v3.25~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a73c7b77b5411703ce7f1f7240c01e1d483f25de;p=thirdparty%2Fxtables-addons.git xt_ipp2p: drop requirement that skb is linear It is no longer necessary. Signed-off-by: Jeremy Sowden --- 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);