From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65DD43C4176 for ; Tue, 21 Jul 2026 09:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784626020; cv=none; b=rsZlX36T0l5oXO1mSmnLGllMYe3sau4YhxhS2FVF99xkI2bZnoQrpk34ktSSwRYCDvnPEPcbnE4mjSdTydRbbZ/9RJ51aZT8cSJJ67ZAc9f3K+RDZBYQgpYZduebh3E5J/U8YK2rBpVg4Yg8gpvHEWn9KweflXwFSQ5Num7GbyY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784626020; c=relaxed/simple; bh=orT+gHxWrBoUSV0KJ295C2JVrwx8p5aAnB0e/OwiqzM=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=OsU/8VuNk1XxKanUCy72JAbA/o4/7vmKEazwKbaO7O+BnWU/wan4iTwwUbhuFUg9FH46y3U73YoS6npnPZ8AyzmhXu73Y5jkibfL07kVfI68GHDhncgx8/b5TI+93HbFnbxJZUMae4MSWCLlsroYiqWhRghTYpl0bs/zfrVpe1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LJCoGBXS; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LJCoGBXS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB9681F000E9; Tue, 21 Jul 2026 09:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784626019; bh=Q1XJOHUB9zoKMyDYMwdUxH2jIG8hmK05tVbtP1CvoUE=; h=Subject:To:Cc:From:Date; b=LJCoGBXSidTbhF3/WgJkpBuNEqee7aaG+pBeHzTr1SVHcnsk7dbRmuEq+Ps8YMB6R gWwsaSa9VXhjfmcWscJdNufwoxAQghOPoseZg80iZ9hbxwRflQ69dbzsv3SqQNNfzX aWRLDkAjZo36SMsxgNz0bxwqvziEr6WWW2zDV4+8= Subject: FAILED: patch "[PATCH] ipvs: reload ip header after head reallocation" failed to apply to 5.15-stable tree To: fw@strlen.de,ja@ssi.bg Cc: From: Date: Tue, 21 Jul 2026 11:26:41 +0200 Message-ID: <2026072141-anime-stuck-2866@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x a2f57827bf7c695b8c72dc4511cae8e86582369d # git commit -s git send-email --to '' --in-reply-to '2026072141-anime-stuck-2866@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From a2f57827bf7c695b8c72dc4511cae8e86582369d Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 8 Jul 2026 16:21:30 +0200 Subject: [PATCH] ipvs: reload ip header after head reallocation __ip_vs_get_out_rt() calls skb_ensure_writable() which may reallocate skb->head. Fixes: 8d8e20e2d7bb ("ipvs: Decrement ttl") Cc: stable@vger.kernel.org Assisted-by: Claude:claude-sonnet-4-6 Acked-by: Julian Anastasov Signed-off-by: Florian Westphal diff --git a/net/netfilter/ipvs/ip_vs_xmit.c b/net/netfilter/ipvs/ip_vs_xmit.c index ce542ed4b013..9fef4335da13 100644 --- a/net/netfilter/ipvs/ip_vs_xmit.c +++ b/net/netfilter/ipvs/ip_vs_xmit.c @@ -736,13 +736,11 @@ int ip_vs_bypass_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) { - struct iphdr *iph = ip_hdr(skb); - - if (__ip_vs_get_out_rt(cp->ipvs, cp->af, skb, NULL, iph->daddr, + if (__ip_vs_get_out_rt(cp->ipvs, cp->af, skb, NULL, ip_hdr(skb)->daddr, IP_VS_RT_MODE_NON_LOCAL, NULL, ipvsh) < 0) goto tx_error; - ip_send_check(iph); + ip_send_check(ip_hdr(skb)); /* Another hack: avoid icmp_send in ip_fragment */ skb->ignore_df = 1;