diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-03-31 02:50:17 +0200 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-05-06 22:48:36 +0200 |
commit | d1a2627a29667fe7c4a9d06e1579a2d65bd39bba (patch) | |
tree | 903881c40ed4d5c6f8c9664bc6f189baedcdef5b /fs/lockd/xdr4.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff) | |
download | linux-d1a2627a29667fe7c4a9d06e1579a2d65bd39bba.tar.xz linux-d1a2627a29667fe7c4a9d06e1579a2d65bd39bba.zip |
wimax: fix oops if netlink fails to add attribute
When sending a message to user space using wimax_msg(), if nla_put()
fails, correctly interpret the return code from wimax_msg_alloc() as
an err ptr and return the error code instead of crashing (as it is
assuming than non-NULL means the pointer is ok).
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'fs/lockd/xdr4.c')
0 files changed, 0 insertions, 0 deletions