android_kernel_xiaomi_sm8350/drivers/net/wireless/b43
Michael Buesch 09552ccd82 b43: Drop packets that we are not able to encrypt
We must not transmit packets we're not able to encrypt.

This fixes a bug where in a tiny timeframe after machine resume
packets can get sent unencrypted and might leak information.

This also fixes three small resource leakages I spotted while fixing
the security problem. Properly deallocate the DMA slots in any DMA
allocation error path.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-31 19:26:45 -08:00
..
b43.h b43: Fix firmware caching 2008-01-28 15:10:46 -08:00
debugfs.c b43: Remove the PHY spinlock 2008-01-28 15:09:32 -08:00
debugfs.h
dma.c b43: Drop packets that we are not able to encrypt 2008-01-31 19:26:45 -08:00
dma.h b43: Remove PIO support 2008-01-28 15:09:17 -08:00
Kconfig b43: Add NPHY kconfig option 2008-01-28 15:09:20 -08:00
leds.c
leds.h
lo.c b43: Fix PHY register routing 2008-01-28 15:09:32 -08:00
lo.h
main.c b43: Fix suspend/resume 2008-01-31 19:26:45 -08:00
main.h b43: Only select allowed TX and RX antennas 2008-01-28 15:09:14 -08:00
Makefile b43: Add NPHY radio init code 2008-01-28 15:09:53 -08:00
nphy.c b43: Add more N-PHY init code 2008-01-28 15:10:44 -08:00
nphy.h b43: Add more N-PHY init code 2008-01-28 15:10:44 -08:00
pcmcia.c
pcmcia.h
phy.c b43: Add NPHY channel switch code 2008-01-28 15:09:53 -08:00
phy.h b43: Add NPHY radio init code 2008-01-28 15:09:53 -08:00
rfkill.c
rfkill.h
sysfs.c
sysfs.h
tables_nphy.c b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
tables_nphy.h b43: Add lots of N-PHY lookup tables 2008-01-28 15:10:03 -08:00
tables.c
tables.h
wa.c
wa.h
xmit.c b43: Drop packets that we are not able to encrypt 2008-01-31 19:26:45 -08:00
xmit.h b43: Drop packets that we are not able to encrypt 2008-01-31 19:26:45 -08:00