From nobody Sun Feb 18 21:11:11 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TdJHh0DTGz5BmLf; Sun, 18 Feb 2024 21:11:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdJHg5hXlz42Jn; Sun, 18 Feb 2024 21:11:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708290671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HfiyhkzcDjQHDVyW8njKFdQm4DDw6kPN/HWPY1mCqhA=; b=DKvlIwYfjj9ZoU4g1GhIC+4utvtdhoescPae3IfFUEmsUYVrMuR3rv6DoiE7QsvTzA3M+9 YVR/PEN/12F/gWW0nt17jf9uiFg1x0XunmPoQRz8VVpchUfmJj2Dpx1bY17jtGR0EFH6Lo dsURYqUwBbcwPvTF6qz6VbC4etvRhWiS80BoLfFQk2+gJfW8zUamhxP+T2RovwtZg8nSDU Y9wS2VBceXLmzmIOF6XM4XywK5TYvc5VYj+vRH3L/HxBhMtWuO/FBGy+1r8nhwPEaJpkXy KTsJCRFtRlxdkaLFKaw16w0mJw1uZQFbidkMA0thlW6PusyD1+qKne6ba8iG4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708290671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HfiyhkzcDjQHDVyW8njKFdQm4DDw6kPN/HWPY1mCqhA=; b=lYM39aMoXWjf5eSYn7UJRLzcez9A9Yoaolz669GGjtqISl3TVV8I+dSme1/z+JdiRQKvFr 5BtGM47i1a7z6Q3jHIXwyigrUxm3quAGXDmHLsc39wNd2aIXm/hO512n4iJJx4V8JmENKS 1KLMgA54m0uSmRZR9gLgh49waljDZ8NLlWIakeDqJiZCuYmTsA7qqVFfYsS8sobMBfcLzN uMMDLSPN2xAdRpfRP4urOYTahuAre0JRF1k82Cqsjb702W60S9O9TmqIJPWwVWyv3WK1u5 KQ7vQTgZG5f6EczJ8F02vketjg072HMyp+GzY65ENCa4Ek7kpREw6KYEDOuESA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290671; a=rsa-sha256; cv=none; b=Iej+GpFg1vDuxv2wMocZJA1Zfwkz1wskLw9E83mWwhvxntE038vZiOk4tKM83Fz5h8xR0Z rQMZI631YSMvZ/GaLdCSI6u+6r1fe5u5gpJ/ocVaRIDFakTe79EzbkJhgzHnVTcIWP5jx2 W1/wdEnd7dbF2IzjzXxJbmWiJwLMYkypAALm+fFdfsYzy5IrOnCIbXgIyrgd82Wxg8fgUe lHva4FS5mIbKx2lX37HcHOX9o3xP8/9iDeAM8ENAcVqb6ED8ZLVGcBhhVzJd4kcQ39j4/P 1KAIuQzwvxBwLkgVA9kJqxtV/0AjJj6yxHtBuNEjcZWcDN7dyE6VFxammMGlSg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TdJHg4NwCz16Dl; Sun, 18 Feb 2024 21:11:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41ILBBTC013250; Sun, 18 Feb 2024 21:11:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41ILBBFS013247; Sun, 18 Feb 2024 21:11:11 GMT (envelope-from git) Date: Sun, 18 Feb 2024 21:11:11 GMT Message-Id: <202402182111.41ILBBFS013247@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: dd2988b0bc36 - stable/14 - Revert "Enter the network epoch in USB WiFi drivers when processing input" List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: dd2988b0bc36d6e8f1bc8cfe28fa62d02f7cafe8 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=dd2988b0bc36d6e8f1bc8cfe28fa62d02f7cafe8 commit dd2988b0bc36d6e8f1bc8cfe28fa62d02f7cafe8 Author: Bjoern A. Zeeb AuthorDate: 2023-11-03 21:31:29 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 16:42:38 +0000 Revert "Enter the network epoch in USB WiFi drivers when processing input" This reverts commit 17c328b6aebfa03cd1c2cbfbbc617e3b341bf1e4. Sponsored by: The FreeBSD Foundation (cherry picked from commit 75f298492a12d53df97c26963ec9f2dc0b052878) --- sys/dev/otus/if_otus.c | 3 --- sys/dev/rtwn/usb/rtwn_usb_rx.c | 3 --- sys/dev/usb/wlan/if_rsu.c | 3 --- 3 files changed, 9 deletions(-) diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index aee765ff4ac8..352af15d17cf 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -1802,7 +1802,6 @@ otus_rxeof(struct usb_xfer *xfer, struct otus_data *data, struct mbufq *rxq) static void otus_bulk_rx_callback(struct usb_xfer *xfer, usb_error_t error) { - struct epoch_tracker et; struct otus_softc *sc = usbd_xfer_softc(xfer); struct ieee80211com *ic = &sc->sc_ic; struct ieee80211_frame *wh; @@ -1853,7 +1852,6 @@ tr_setup: * callback and safe to unlock. */ OTUS_UNLOCK(sc); - NET_EPOCH_ENTER(et); while ((m = mbufq_dequeue(&scrx)) != NULL) { wh = mtod(m, struct ieee80211_frame *); ni = ieee80211_find_rxnode(ic, @@ -1866,7 +1864,6 @@ tr_setup: } else (void)ieee80211_input_mimo_all(ic, m); } - NET_EPOCH_EXIT(et); #ifdef IEEE80211_SUPPORT_SUPERG ieee80211_ff_age_all(ic, 100); #endif diff --git a/sys/dev/rtwn/usb/rtwn_usb_rx.c b/sys/dev/rtwn/usb/rtwn_usb_rx.c index 30921bdc2101..5db967ddcc18 100644 --- a/sys/dev/rtwn/usb/rtwn_usb_rx.c +++ b/sys/dev/rtwn/usb/rtwn_usb_rx.c @@ -361,7 +361,6 @@ rtwn_rx_frame(struct rtwn_softc *sc, struct mbuf *m) void rtwn_bulk_rx_callback(struct usb_xfer *xfer, usb_error_t error) { - struct epoch_tracker et; struct rtwn_usb_softc *uc = usbd_xfer_softc(xfer); struct rtwn_softc *sc = &uc->uc_sc; struct ieee80211com *ic = &sc->sc_ic; @@ -404,7 +403,6 @@ tr_setup: m->m_pkthdr.PH_loc.ptr = rtwn_rx_frame(sc, m); m = m->m_nextpkt; } - NET_EPOCH_ENTER(et); RTWN_UNLOCK(sc); m = m0; while (m != NULL) { @@ -422,7 +420,6 @@ tr_setup: m = next; } RTWN_LOCK(sc); - NET_EPOCH_EXIT(et); break; default: /* needs it to the inactive queue due to a error. */ diff --git a/sys/dev/usb/wlan/if_rsu.c b/sys/dev/usb/wlan/if_rsu.c index 7a1e85f652a2..e000d1fb5992 100644 --- a/sys/dev/usb/wlan/if_rsu.c +++ b/sys/dev/usb/wlan/if_rsu.c @@ -2553,7 +2553,6 @@ rsu_rxeof(struct usb_xfer *xfer, struct rsu_data *data) static void rsu_bulk_rx_callback(struct usb_xfer *xfer, usb_error_t error) { - struct epoch_tracker et; struct rsu_softc *sc = usbd_xfer_softc(xfer); struct ieee80211com *ic = &sc->sc_ic; struct ieee80211_node *ni; @@ -2588,7 +2587,6 @@ tr_setup: * ieee80211_input() because here is at the end of a USB * callback and safe to unlock. */ - NET_EPOCH_ENTER(et); while (m != NULL) { next = m->m_next; m->m_next = NULL; @@ -2607,7 +2605,6 @@ tr_setup: RSU_LOCK(sc); m = next; } - NET_EPOCH_EXIT(et); break; default: /* needs it to the inactive queue due to a error. */