This is a note to let you know that I've just added the patch titled
[PATCH] selftests/net: fix gro.c compilation failure due to non-existent
opt_ipproto_off
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
selftests-net-fix-gro.c-compilation-failure-due-to-non-existent-opt_ipproto_off.patch
and it can be found in the queue-6.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From [email protected] Mon Jul 15 14:10:26 2024
From: John Hubbard <[email protected]>
Date: Fri, 12 Jul 2024 16:51:50 -0700
Subject: [PATCH] selftests/net: fix gro.c compilation failure due to
non-existent opt_ipproto_off
To: Greg Kroah-Hartman <[email protected]>
Cc: "Shuah Khan" <[email protected]>, "David S . Miller" <[email protected]>,
"Eric Dumazet" <[email protected]>, "Jakub Kicinski" <[email protected]>,
"Paolo Abeni" <[email protected]>, "Steffen Klassert"
<[email protected]>, "Herbert Xu" <[email protected]>,
"Andreas Färber" <[email protected]>, "Manivannan Sadhasivam"
<[email protected]>, "Matthieu Baerts" <[email protected]>,
"Mat Martineau" <[email protected]>, "Geliang Tang" <[email protected]>,
"Pravin B Shelar" <[email protected]>, "Willem de Bruijn"
<[email protected]>, "Alexander Mikhalitsyn"
<[email protected]>, zhujun2 <[email protected]>, "Petr
Machata" <[email protected]>, "Ido Schimmel" <[email protected]>, "Hangbin Liu"
<[email protected]>, "Nikolay Aleksandrov" <[email protected]>, "Benjamin
Poirier" <[email protected]>, "Sebastian Andrzej Siewior"
<[email protected]>, "Dmitry Safonov" <[email protected]>,
[email protected], linux
[email protected], [email protected],
[email protected], [email protected], [email protected],
LKML <[email protected]>, [email protected], "John Hubbard"
<[email protected]>, [email protected], "Ignat Korchagin"
<[email protected]>
Message-ID: <[email protected]>
From: John Hubbard <[email protected]>
Linux 6.6 does not have an opt_ipproto_off variable in gro.c at all (it
was added in later kernel versions), so attempting to initialize one
breaks the build.
Fixes: c80d53c484e8 ("selftests/net: fix uninitialized variables")
Cc: <[email protected]> # 6.6
Reported-by: Ignat Korchagin <[email protected]>
Closes:
https://lore.kernel.org/all/[email protected]/#t
Signed-off-by: John Hubbard <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
tools/testing/selftests/net/gro.c | 3 ---
1 file changed, 3 deletions(-)
--- a/tools/testing/selftests/net/gro.c
+++ b/tools/testing/selftests/net/gro.c
@@ -113,9 +113,6 @@ static void setup_sock_filter(int fd)
next_off = offsetof(struct ipv6hdr, nexthdr);
ipproto_off = ETH_HLEN + next_off;
- /* Overridden later if exthdrs are used: */
- opt_ipproto_off = ipproto_off;
-
if (strcmp(testname, "ip") == 0) {
if (proto == PF_INET)
optlen = sizeof(struct ip_timestamp);
Patches currently in stable-queue which might be from [email protected] are
queue-6.6/selftests-net-fix-gro.c-compilation-failure-due-to-non-existent-opt_ipproto_off.patch
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev