nl80211: check nla_parse() return values
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Jan 2014 09:17:47 +0000 (10:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:57:56 +0000 (21:57 +0100)
If there's a policy, then nla_parse() return values must be
checked, otherwise the policy is useless and there's nothing
that ensures the attributes are actually what we expect them
to be.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c

Simple merge