]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix an oops in several failure paths in key allocation
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 26 Jun 2008 09:13:46 +0000 (12:13 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jun 2008 18:49:52 +0000 (14:49 -0400)
commit08042e23aabe3a5595611512b5af689d89632a76
treece67292589f9c387ff31203db36cb220202a7ee7
parentbc938922f0592f8bb7825c8c1ad7e2fd34284007
mac80211: fix an oops in several failure paths in key allocation

This patch fixes an oops in several failure paths in key allocation. This
Oops occurs when freeing a key that has not been linked yet, so the
key->sdata is not set.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.c