diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2016-04-21 00:19:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-29 17:53:47 -0700 |
commit | c3f463484bdd0acd15abd5f92399041f79592d06 (patch) | |
tree | 49f90a5c0583dc64f7a21c62d45ce4ea5bb24e59 /Documentation | |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions