android_kernel_xiaomi_sm8450/drivers/net
Bitterblue Smith c539721e90 wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path
commit 2f228d364da95ab58f63a3fedc00d5b2b7db16ab upstream.

Structs rx_desc_92d and rx_fwinfo_92d will not work for big endian
systems.

Delete rx_desc_92d because it's big and barely used, and instead use
the get_rx_desc_rxmcs and get_rx_desc_rxht functions, which work on big
endian systems too.

Fix rx_fwinfo_92d by duplicating four of its members in the correct
order.

Tested only with RTL8192DU, which will use the same code.
Tested only on a little endian system.

Cc: stable@vger.kernel.org
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/698463da-5ef1-40c7-b744-fa51ad847caf@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-16 13:32:33 +02:00
..
appletalk
arcnet arcnet: restoring support for multiple Sohard Arcnet cards 2023-12-13 18:26:59 +01:00
bonding bonding: remove print in bond_verify_device_path 2024-02-23 08:42:18 +01:00
caif caif_virtio: fix race between virtio_device_ready() and ndo_open() 2022-07-07 17:52:18 +02:00
can can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on() 2023-11-20 11:06:45 +01:00
dsa net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341 2024-05-17 11:48:01 +02:00
ethernet net:fec: Add fec_enet_deinit() 2024-06-16 13:32:29 +02:00
fddi net: defxx: Fix missing err handling in dfx_init() 2023-01-14 10:15:42 +01:00
fjes fjes: fix memleaks in fjes_hw_setup 2024-02-23 08:41:57 +01:00
hamradio hamradio: baycom_epp: Fix return type of baycom_send_packet() 2023-01-14 10:16:16 +01:00
hippi drivers: net: hippi: Fix deadlock in rr_close() 2022-05-09 09:05:06 +02:00
hyperv hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed 2024-03-15 10:48:21 -04:00
ieee802154 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 2023-11-08 17:30:42 +01:00
ipa net: ipa: compute DMA pool size properly 2023-04-05 11:23:48 +02:00
ipvlan ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound 2024-06-16 13:32:29 +02:00
mdio net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() 2023-05-30 12:57:45 +01:00
netdevsim netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write() 2023-07-27 08:44:24 +02:00
pcs
phy net: phy: dp83822: Fix RGMII TX delay configuration 2024-03-26 18:21:53 -04:00
plip net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq() 2022-12-14 11:32:04 +01:00
ppp ppp_async: limit MRU to 64K 2024-02-23 08:42:20 +01:00
slip drivers: net: slip: fix NPD bug in sl_tx_timeout() 2022-04-20 09:23:24 +02:00
team team: Fix use-after-free when an option instance allocation fails 2023-12-20 15:44:37 +01:00
usb net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM 2024-06-16 13:32:29 +02:00
vmxnet3 vmxnet3: correctly report csum_level for encapsulated packet 2023-01-14 10:16:45 +01:00
vxlan vxlan: Fix regression when dropping packets due to invalid src addresses 2024-06-16 13:32:31 +02:00
wan drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close() 2023-10-10 21:53:37 +02:00
wimax
wireguard wireguard: netlink: access device through ctx instead of peer 2024-04-13 12:58:42 +02:00
wireless wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-06-16 13:32:33 +02:00
xen-netback xen-netback: properly sync TX responses 2024-02-23 08:42:26 +01:00
bareudp.c bareudp: use ipv6_mod_enabled to check if IPv6 enabled 2022-04-08 14:40:22 +02:00
dummy.c
eql.c
geneve.c geneve: fix header validation in geneve[6]_xmit_skb 2024-05-02 16:23:34 +02:00
gtp.c net: gtp: Fix Use-After-Free in gtp_dellink 2024-05-02 16:23:41 +02:00
ifb.c
Kconfig lib/crypto: blake2s: include as built-in 2022-05-30 09:33:26 +02:00
LICENSE.SRC
loopback.c net: loopback: use NET_NAME_PREDICTABLE for name_assign_type 2022-12-21 17:32:08 +01:00
macsec.c net: add DEV_STATS_READ() helper 2023-11-20 11:06:46 +01:00
macvlan.c macvlan: Don't propagate promisc change to lower dev in passthru 2023-11-28 16:54:55 +00:00
macvtap.c macvtap: advertise link netns via netlink 2022-04-13 21:00:59 +02:00
Makefile vxlan: move to its own directory 2023-08-11 11:57:35 +02:00
mdio.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-04-05 11:23:47 +02:00
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: Use dev_kfree_skb_any() in interrupt context 2023-01-14 10:15:44 +01:00
rionet.c
sb1000.c
Space.c
sungem_phy.c net: sungem_phy: Add of_node_put() for reference returned by of_get_parent() 2022-08-03 12:00:46 +02:00
tap.c net: tap_open(): set sk_uid from current_fsuid() 2023-08-11 11:57:52 +02:00
thunderbolt.c net: thunderbolt: Fix TCPv6 GSO checksum calculation 2023-10-10 21:53:35 +02:00
tun.c tun: limit printing rate when illegal packet received by tun dev 2024-05-02 16:23:36 +02:00
veth.c veth: Fixing transmit return status for dropped packets 2023-09-19 12:20:26 +02:00
virtio_net.c virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings 2024-02-23 08:42:14 +01:00
vrf.c
vsockmon.c
xen-netfront.c xen-netfront: Fix NULL sring after live migration 2022-12-14 11:32:02 +01:00