public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Justin M. Forbes <jforbes@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/kernel] f43: kernel-7.1.4-104
Date: Wed, 22 Jul 2026 15:10:42 GMT	[thread overview]
Message-ID: <178473304263.1.16385239275995824914.rpms-kernel-73396e46af8d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/kernel
            Branch : f43
            Commit : 73396e46af8dc2008d3b6e55db73f13b211b1546
            Author : Justin M. Forbes <jforbes@fedoraproject.org>
            Date   : 2026-07-22T09:10:28-06:00
            Stats  : +33/-5 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/kernel/c/73396e46af8dc2008d3b6e55db73f13b211b1546?branch=f43

            Log:
            kernel-7.1.4-104

* Wed Jul 22 2026 Justin M. Forbes <jforbes@fedoraproject.org> [7.1.4-4]
- net/packet: avoid fanout hook re-registration after unregister (David Lee)
Resolves:

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>

---
diff --git a/Makefile.rhelver b/Makefile.rhelver
index dbdb99a..f8a4a2c 100644
--- a/Makefile.rhelver
+++ b/Makefile.rhelver
@@ -12,7 +12,7 @@ RHEL_MINOR = 99
 #
 # Use this spot to avoid future merge conflicts.
 # Do not trim this comment.
-RHEL_RELEASE = 3
+RHEL_RELEASE = 4
 
 #
 # RHEL_REBASE_NUM

diff --git a/Patchlist.changelog b/Patchlist.changelog
index bbac375..ce9f288 100644
--- a/Patchlist.changelog
+++ b/Patchlist.changelog
@@ -1,3 +1,6 @@
+https://gitlab.com/cki-project/kernel-ark/-/commit/4735f2eec63a6a192b69a79921f8559570f1ebf9
+ 4735f2eec63a6a192b69a79921f8559570f1ebf9 net/packet: avoid fanout hook re-registration after unregister
+
 https://gitlab.com/cki-project/kernel-ark/-/commit/ce4210e437cef5c58d496117632473f6ad20f1d1
  ce4210e437cef5c58d496117632473f6ad20f1d1 net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle
 

diff --git a/kernel.changelog b/kernel.changelog
index 84d686d..8bbef45 100644
--- a/kernel.changelog
+++ b/kernel.changelog
@@ -1,3 +1,7 @@
+* Wed Jul 22 2026 Justin M. Forbes <jforbes@fedoraproject.org> [7.1.4-4]
+- net/packet: avoid fanout hook re-registration after unregister (David Lee)
+Resolves: 
+
 * Wed Jul 22 2026 Justin M. Forbes <jforbes@fedoraproject.org> [7.1.4-3]
 - net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle (Jamal Hadi Salim)
 Resolves: 

diff --git a/kernel.spec b/kernel.spec
index 8f03804..5486246 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -190,13 +190,13 @@ Summary: The Linux kernel
 %define specrpmversion 7.1.4
 %define specversion 7.1.4
 %define patchversion 7.1
-%define pkgrelease 103
+%define pkgrelease 104
 %define kversion 7
 %define tarfile_release 7.1.4
 # This is needed to do merge window version magic
 %define patchlevel 1
 # This allows pkg_release to have configurable %%{?dist} tag
-%define specrelease 103%{?buildid}%{?dist}
+%define specrelease 104%{?buildid}%{?dist}
 # This defines the kabi tarball version
 %define kabiversion 7.1.4
 
@@ -4857,6 +4857,9 @@ fi\
 #
 #
 %changelog
+* Wed Jul 22 2026 Justin M. Forbes <jforbes@fedoraproject.org> [7.1.4-4]
+- net/packet: avoid fanout hook re-registration after unregister (David Lee)
+
 * Wed Jul 22 2026 Justin M. Forbes <jforbes@fedoraproject.org> [7.1.4-3]
 - net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle (Jamal Hadi Salim)
 

diff --git a/patch-7.1-redhat.patch b/patch-7.1-redhat.patch
index 4ec6e65..5d6b3ff 100644
--- a/patch-7.1-redhat.patch
+++ b/patch-7.1-redhat.patch
@@ -53,6 +53,7 @@
  include/linux/security.h                           |   9 +
  kernel/module/signing.c                            |   9 +-
  net/can/bcm.c                                      |  37 +-
+ net/packet/af_packet.c                             |   6 +-
  net/sched/cls_api.c                                |   3 +
  scripts/Makefile.lib                               |   3 +
  scripts/tags.sh                                    |   2 +
@@ -64,7 +65,7 @@
  tools/testing/selftests/bpf/DENYLIST.rhel          |  76 ++
  tools/testing/selftests/bpf/Makefile               |   2 +-
  tools/testing/selftests/bpf/prog_tests/ksyms_btf.c |  31 -
- 66 files changed, 2103 insertions(+), 190 deletions(-)
+ 67 files changed, 2108 insertions(+), 191 deletions(-)
 
 diff --git a/MAINTAINERS b/MAINTAINERS
 index f74da642290a..06c8bb2075e6 100644
@@ -3258,6 +3259,23 @@ index a4bef2c48a55..bdf53241bd7b 100644
  }
  
  module_init(bcm_module_init);
+diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
+index 8e6f3a734ba0..e75d2932475a 100644
+--- a/net/packet/af_packet.c
++++ b/net/packet/af_packet.c
+@@ -4561,7 +4561,11 @@ static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u,
+ 
+ 	spin_lock(&po->bind_lock);
+ 	WRITE_ONCE(po->num, num);
+-	if (was_running)
++	/*
++	 * NETDEV_UNREGISTER may have invalidated the binding while bind_lock
++	 * was dropped above.  Do not re-add a fanout hook to a dead device.
++	 */
++	if (was_running && READ_ONCE(po->ifindex) != -1)
+ 		register_prot_hook(sk);
+ 
+ 	spin_unlock(&po->bind_lock);
 diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
 index 20f7f9ee0b35..3e67600a4a1a 100644
 --- a/net/sched/cls_api.c

diff --git a/sources b/sources
index 2e65c2a..8901f69 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
 SHA512 (linux-7.1.4.tar.xz) = 164f7c0353dfcf1eaacf886530273271d473314a9f99d9441a63bfc24368c8d2f194552bd4800dd440bf824598cbd74263b1b544dc61307517b8208acf9b4a7a
-SHA512 (kernel-abi-stablelists-7.1.4.tar.xz) = a9341df7135af91a06b589013a9c16329aa76de868df17da9ac205f141a2fc39ff6ea8f4f6906bb38281517aa7fe157b65e7c550aa64a907bbfddfc61b782717
+SHA512 (kernel-abi-stablelists-7.1.4.tar.xz) = 714afd9080ec29f3f6881b1750bfd2221cb37bde76f6850229d51bc5aa646d2efc52e39945a00a19a5fb4c38c230b6302f97b60a8b810c87b8ca50da178944c5
 SHA512 (kernel-kabi-dw-7.1.4.tar.xz) = 8b0322a90c6897047f21ab53a9aa4875df9ad1f58c4745923ed75aef9a968eb2eea272b80124a88295df61d500d4a67f698a2529fd6811604b613867f0e27fa8

                 reply	other threads:[~2026-07-22 15:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178473304263.1.16385239275995824914.rpms-kernel-73396e46af8d@fedoraproject.org \
    --to=jforbes@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox