]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
b43legacy: drop packets we are not able to encrypt
authorStefano Brivio <stefano.brivio@polimi.it>
Fri, 25 Jan 2008 13:29:50 +0000 (14:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 19:46:28 +0000 (11:46 -0800)
commit9c5149b9f241dcae61b9a20653b26d10b4738f24
tree49d30011d2d357d33526d681d6268271f3c8211a
parentbee7e28170165cb0503dc04bc2b9b6a5cb1593f9
b43legacy: drop packets we are not able to encrypt

patch 9eca9a8e81928685b4de00ecef83a7c13c340fc9 in mainline.

We must drop any packets we are not able to encrypt.
We must not send them unencrypted or with an all-zero-key (which
basically is the same as unencrypted, from a security point of view).

This might only trigger shortly after resume before mac80211 reassociated
and reconfigured the keys.

It is safe to drop these packets, as the association they belong to
is not guaranteed anymore anyway.
This is a security fix in the sense that it prevents information leakage.

This patch by Michael Buesch has been ported to b43legacy.

Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/b43legacy/dma.c
drivers/net/wireless/b43legacy/pio.c
drivers/net/wireless/b43legacy/xmit.c
drivers/net/wireless/b43legacy/xmit.h