lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z27GfUftoDlw25R4@eldamar.lan>
Date: Fri, 27 Dec 2024 16:23:41 +0100
From: Salvatore Bonaccorso <carnil@...ian.org>
To: Clark Williams <williams@...hat.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
	linux-rt-users <linux-rt-users@...r.kernel.org>,
	Steven Rostedt <rostedt@...dmis.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Carsten Emde <C.Emde@...dl.org>, John Kacur <jkacur@...hat.com>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
	Daniel Wagner <daniel.wagner@...e.com>,
	Tom Zanussi <tom.zanussi@...ux.intel.com>,
	Pavel Machek <pavel@...x.de>,
	Joseph Salisbury <joseph.salisbury@...cle.com>,
	"Luis Claudio R. Goncalves" <lgoncalv@...hat.com>
Subject: 6.1.120-rt46 and build failure due to conflict with rebase against
 34d21de99cea ("net: Move {l,t,d}stats allocation to core and convert veth &
 vrf") (was: Re: [ANNOUNCE] 6.1.120-rt46)

Hi,

On Tue, Dec 17, 2024 at 07:37:47PM -0000, Clark Williams wrote:
> Hello RT-list!
> 
> I'm pleased to announce the 6.1.120-rt46 stable release.
> 
> You can get this release via the git tree at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
> 
>   branch: v6.1-rt
>   Head SHA1: 061eae4897c2fee62fed3f946864107faf3292b7
> 
> Or to build 6.1.120-rt46 directly, the following patches should be applied:
> 
>   https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz
> 
>   https://www.kernel.org/pub/linux/kernel/v6.x/patch-6.1.120.xz
> 
>   https://www.kernel.org/pub/linux/kernel/projects/rt/6.1/patch-6.1.120-rt46.patch.xz
> 
> 
> Enjoy!
> Clark
> 
> Changes from v6.1.119-rt45:

In v6.1.120 there was a backport of 34d21de99cea ("net: Move
{l,t,d}stats allocation to core and convert veth & vrf") .

AFAICS, this conflicts with the v6.1.120-rt46, in the patch

0005-net-Remove-the-obsolte-u64_stats_fetch_-_irq-users-d.patch

and causes a build failure:

/home/build/linux-6.1.122/debian/build/source_rt/drivers/net/vrf.c: In function ‘vrf_get_stats64’:
/home/build/linux-6.1.122/debian/build/source_rt/drivers/net/vrf.c:157:41: error: ‘const struct pcpu_dstats’ has no member named ‘rx_pkts’; did you mean ‘rx_packets’?
  157 |                         rpkts = dstats->rx_pkts;
      |                                         ^~~~~~~
      |                                         rx_packets


I guess the rt patchset for 6.1.120 was just not cleanly rebased for
the 0005-net-Remove-the-obsolte-u64_stats_fetch_-_irq-users-d.patch
patch:

--- a/0005-net-Remove-the-obsolte-u64_stats_fetch_-_irq-users-d.patch
+++ b/0005-net-Remove-the-obsolte-u64_stats_fetch_-_irq-users-d.patch
@@ -2012,7 +2012,7 @@ index c8a1009d659e..c3e5fb98cf7f 100644
                        rbytes = dstats->rx_bytes;
 -                      rpkts = dstats->rx_packets;
 -              } while (u64_stats_fetch_retry_irq(&dstats->syncp, start));
-+                      rpkts = dstats->rx_pkts;
++                      rpkts = dstats->rx_packets;
 +              } while (u64_stats_fetch_retry(&dstats->syncp, start));
                stats->tx_bytes += tbytes;
                stats->tx_packets += tpkts;

Regards,
Salvatore

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ