]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Validate MFP flag type when parsing STA flags
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 11 May 2009 18:57:55 +0000 (21:57 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:33 +0000 (15:44 -0400)
commit9ecbdb168d08140c0adacefe5e89cf3e3baa7ff7
treede07f6d714e7dc2cae05df5a1f69c3aa0fb46397
parentb9a6055f442fafb879d04b67e9d836afd8df4e70
nl80211: Validate MFP flag type when parsing STA flags

NL80211_STA_FLAG_MFP was forgotten from sta_flags_policy. The previous
version added the flag due to the loop used in parse_station_flags,
but the proper behavior would be to allow nla_parse_nested() to go
through the policy for all flags.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c