]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43: Drop packets we are not able to encrypt
authorMichael Buesch <mb@bu3sch.de>
Fri, 25 Jan 2008 11:15:07 +0000 (12:15 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 19:46:26 +0000 (11:46 -0800)
commit2e892f92fe8b48824cf647e812d7fac1c289a854
treee3479200821c4203ad83eb8564e1a10441851d8b
parentb3b222ff9374f16ed55aad252b1817980699b9b7
b43: Drop packets we are not able to encrypt

patch 09552ccd8277e6382097e93a40f7311a09449367 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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/b43/dma.c
drivers/net/wireless/b43/xmit.c
drivers/net/wireless/b43/xmit.h