commit | c3f463484bdd0acd15abd5f92399041f79592d06 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Thu Apr 21 00:19:25 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 29 17:53:47 2016 -0700 |
tree | 49f90a5c0583dc64f7a21c62d45ce4ea5bb24e59 | |
parent | b8a99fb513a63397b43f63f4825371f64a79e821 [diff] |
staging: rtl8192u: Fix crash due to pointers being "confusing" There's no net_device stashed in skb->cb, there's a net_device * there. To make it *really* clear, also change the write of the dev pointer into skb->cb from a memcpy() to an assignment. Fixes: 3fe563249374 ("staging: rtl8192u: r8192U_core.c: Cleaning up ...") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>