]> Pileus Git - ~andy/linux/commit
nl80211: check nla_put_* return values
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Oct 2013 09:05:22 +0000 (11:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:05 +0000 (16:50 +0100)
commitae917c9f55862691e31b84de7ec29bedcb83971c
tree2e2b0e26b4e43d7520b9a4bfdc984af0e037456e
parent18db594a1005d908d995a2fc8f5a7bf4286fdca0
nl80211: check nla_put_* return values

Coverity pointed out that in a few functions we don't
check the return value of the nla_put_*() calls. Most
of these are fairly harmless because the input isn't
very dynamic and controlled by the kernel, but the
pattern is simply wrong, so fix this.

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