]> err.no Git - linux-2.6/commit
b43legacy: drop packets we are not able to encrypt
authorStefano Brivio <stefano.brivio@polimi.it>
Sat, 2 Feb 2008 18:16:01 +0000 (19:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Feb 2008 19:35:46 +0000 (14:35 -0500)
commit9eca9a8e81928685b4de00ecef83a7c13c340fc9
tree9029574fe8c64a8b75c3f682d6ba2f4fd1ced504
parentada50731c0346bf900dc387edd3a6961297bf2d3
b43legacy: drop packets we are not able to encrypt

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>
drivers/net/wireless/b43legacy/dma.c
drivers/net/wireless/b43legacy/pio.c
drivers/net/wireless/b43legacy/xmit.c
drivers/net/wireless/b43legacy/xmit.h