The packet receive handler runs on IPL_NET in large parts. Fix the error
case that misses to lower the IPL again when decoding CCMP packets
fails.
---
 sys/dev/usb/if_urtwn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/usb/if_urtwn.c b/sys/dev/usb/if_urtwn.c
index 6454f8224df..3e2235cd9bb 100644
--- a/sys/dev/usb/if_urtwn.c
+++ b/sys/dev/usb/if_urtwn.c
@@ -1280,6 +1280,7 @@ urtwn_rx_frame(struct urtwn_softc *sc, uint8_t *buf, int 
pktlen,
                        ifp->if_ierrors++;
                        m_freem(m);
                        ieee80211_release_node(ic, ni);
+                       splx(s);
                        return;
                }
                rxi.rxi_flags |= IEEE80211_RXI_HWDEC;
-- 
2.35.1

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to