linux-stable/drivers/net
Toke Høiland-Jørgensen a839cd33ae wifi: ath9k: Don't mark channelmap stack variable read-only in ath9k_mci_update_wlan_channels()
commit 0f2a4af27b upstream.

This partially reverts commit e161d4b60a.

Turns out the channelmap variable is not actually read-only, it's modified
through the MCI_GPM_CLR_CHANNEL_BIT() macro further down in the function,
so making it read-only causes page faults when that code is hit.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217183
Link: https://lore.kernel.org/r/20230413214118.153781-1-toke@toke.dk
Fixes: e161d4b60a ("wifi: ath9k: Make arrays prof_prio and channelmap static const")
Cc: stable@vger.kernel.org
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-26 14:30:03 +02:00
..
appletalk
arcnet
bonding bonding: Fix memory leak when changing bond type to Ethernet 2023-04-26 14:29:58 +02:00
caif
can can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL 2023-03-10 09:28:23 +01:00
dsa net: dsa: b53: mmap: add phy ops 2023-04-26 14:30:00 +02:00
ethernet e1000e: Disable TSO on i219-LM card to increase speed 2023-04-26 14:29:59 +02:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Check status in SEND_RNDIS_PKT completion message 2023-03-10 09:29:13 +01:00
ieee802154 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx() 2023-04-06 12:12:31 +02:00
ipa net: ipa: compute DMA pool size properly 2023-04-06 12:12:38 +02:00
ipvlan ipvlan: Make skb->skb_iif track skb->dev for l3s mode 2023-03-22 13:37:46 +01:00
mctp
mdio net: mdio: thunder: Add missing fwnode_handle_put() 2023-03-30 12:51:23 +02:00
netdevsim
pcs
phy net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow 2023-04-20 12:36:58 +02:00
plip
ppp
pse-pd
slip
team
usb net: usb: qmi_wwan: add Telit 0x1080 composition 2023-03-30 12:51:30 +02:00
vmxnet3 vmxnet3: use gro callback when UPT is enabled 2023-04-06 12:12:42 +02:00
vxlan
wan
wireguard cpumask: fix incorrect cpumask scanning result checks 2023-03-30 12:51:28 +02:00
wireless wifi: ath9k: Don't mark channelmap stack variable read-only in ath9k_mci_update_wlan_channels() 2023-04-26 14:30:03 +02:00
wwan net: wwan: iosm: Fix error handling path in ipc_pcie_probe() 2023-04-20 12:36:55 +02:00
xen-netback xen/netback: use same error messages for same errors 2023-04-26 14:30:01 +02:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-04-06 12:12:35 +02:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tap: tap_open(): correctly initialize socket uid 2023-03-10 09:28:16 +01:00
thunderbolt.c
tun.c tun: tun_chr_open(): correctly initialize socket uid 2023-03-10 09:28:16 +01:00
veth.c veth: Fix use after free in XDP_REDIRECT 2023-03-22 13:37:52 +01:00
virtio_net.c virtio_net: bugfix overflow inside xdp_linearize_page() 2023-04-26 14:29:56 +02:00
vrf.c
vsockmon.c
xen-netfront.c