]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix missing nesting
authorJohannes Berg <johannes.berg@intel.com>
Tue, 24 Aug 2010 10:15:53 +0000 (12:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Aug 2010 18:34:56 +0000 (14:34 -0400)
commit8777ea03c8ec863533492e63218455bd14bfa280
tree8bfd236b1daede68637c6238c7c9cb813dfa82f2
parent7286f3f05e975b141edfbd88b13d464bf59911e0
nl80211: fix missing nesting

commit 95a6ccbb46c70cff376684c752831c014c87029d
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Thu Aug 12 15:38:38 2010 +0200

    cfg80211/mac80211: extensible frame processing

introduced a netlink bug that caused parsing errors
in userspace because it forgot to close a nesting,
which would advertise a nesting length of zero to
userspace, which then completely threw off parsing
and led to

Illegal nla->nla_type == 0

being printed by libnl.

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