Inaky Perez-Gonzalez d1a2627a29 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>
2009-05-06 13:48:36 -07:00
..
2009-04-20 02:14:59 -07:00
2009-01-04 17:29:21 -08:00
2009-03-21 13:36:17 -07:00
2009-04-22 00:49:51 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:43:35 -08:00