]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
b43: Drop packets that we are not able to encrypt
authorMichael Buesch <mb@bu3sch.de>
Wed, 23 Jan 2008 20:44:15 +0000 (21:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:45 +0000 (19:26 -0800)
commit09552ccd8277e6382097e93a40f7311a09449367
treec6e9b3f46ab04a0f1a461699d01cd6dbaa71e9bb
parent7be1bb6b798d506693d2d8668e801951996b5a4a
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>
drivers/net/wireless/b43/dma.c
drivers/net/wireless/b43/xmit.c
drivers/net/wireless/b43/xmit.h