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 b43: Convert to use of the new SPROM structure 2008-01-28 15:04:42 -08:00
leds.h [B43]: LED triggers support 2007-10-10 16:54:11 -07:00
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 b43: properly request pcmcia IRQ 2007-11-10 04:25:13 -05:00
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 b43: fix use-after-free rfkill bug 2008-01-16 12:53:32 -05:00
rfkill.h b43: Rewrite and fix rfkill init 2007-11-10 04:25:12 -05:00
sysfs.c b43 wireless needs <linux/io.h> 2007-10-13 09:41:03 -07:00
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 b43: Fix for broken transmission 2008-01-28 15:05:59 -08:00
tables.h b43: rewrite A PHY initialization 2008-01-28 15:04:31 -08:00
wa.c b43: Fix for broken transmission 2008-01-28 15:05:59 -08:00
wa.h b43: rewrite A PHY initialization 2008-01-28 15:04:31 -08:00
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