android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
JaeMan Park 964f155c38 mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
[ Upstream commit cacfddf82baf1470e5741edeecb187260868f195 ]

In mac80211_hwsim, the probe_req frame is created and sent while
scanning. It is sent with ieee80211_tx_info which is not initialized.
Uninitialized ieee80211_tx_info can cause problems when using
mac80211_hwsim with wmediumd. wmediumd checks the tx_rates field of
ieee80211_tx_info and doesn't relay probe_req frame to other clients
even if it is a broadcasting message.

Call ieee80211_tx_prepare_skb() to initialize ieee80211_tx_info for
the probe_req that is created by hw_scan_work in mac80211_hwsim.

Signed-off-by: JaeMan Park <jaeman@google.com>
Link: https://lore.kernel.org/r/20220113060235.546107-1-jaeman@google.com
[fix memory leak]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-08 19:07:45 +01:00
..
appletalk
arcnet
bonding bonding: fix data-races around agg_select_timer 2022-02-23 11:59:58 +01:00
caif
can can: xilinx_can: xcan_probe(): check for error irq 2022-01-27 09:19:37 +01:00
dsa net: dsa: lan9303: fix reset on probe 2022-02-23 11:59:57 +01:00
ethernet net/mlx5: Fix wrong limitation of metadata match on ecpf 2022-03-02 11:41:09 +01:00
fddi
fjes fjes: Check for error irq 2021-12-29 12:23:35 +01:00
hamradio yam: fix a memory leak in yam_siocdevprivate() 2022-02-01 17:24:39 +01:00
hippi
hyperv
ieee802154 net: ieee802154: ca8210: Fix lifs/sifs periods 2022-02-23 11:59:58 +01:00
ipvlan
netdevsim netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc 2021-12-22 09:29:38 +01:00
phy net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE 2022-02-16 12:52:51 +01:00
plip
ppp ppp: ensure minimum packet size in ppp_write() 2022-01-27 09:19:35 +01:00
slip
team
usb USB: zaurus: support another broken Zaurus 2022-03-02 11:41:02 +01:00
vmxnet3 vmxnet3: do not stop tx queues after netif_device_detach() 2021-11-17 09:48:21 +01:00
wan
wimax
wireless mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work 2022-03-08 19:07:45 +01:00
xen-netback xen/netback: don't queue unlimited number of packages 2021-12-22 09:29:41 +01:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c net: macsec: Verify that send_sci is on when setting Tx sci explicitly 2022-02-08 18:24:31 +01:00
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: fix bonding active backup with arp monitoring 2021-11-26 10:47:21 +01:00
veth.c veth: fix races around rq->rx_notify_masked 2022-02-16 12:52:51 +01:00
virtio_net.c
vrf.c vrf: don't run conntrack on vrf with !dflt qdisc 2021-12-14 14:48:59 +01:00
vsockmon.c
vxlan.c
xen-netfront.c xen/netfront: harden netfront against event channel storms 2021-12-22 09:29:40 +01:00