diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-03-30 17:50:17 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 09:39:58 -0700 |
commit | 7e3ab8deaa79f69dc99ce624f3cc857e746d62d4 (patch) | |
tree | f09e1ac7f134d1d33ee57a42e64b987955c151f8 /Documentation/Changes | |
parent | 923811b7bd5e6dbc21a384147367e682e698eeda (diff) |
wimax: fix oops if netlink fails to add attribute
commit d1a2627a29667fe7c4a9d06e1579a2d65bd39bba upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/Changes')
0 files changed, 0 insertions, 0 deletions