Skip to content
Commit 14458630 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: net_assign_generic() fix



memcpy() should take into account size of pointers,
not only number of pointers to copy.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Acked-by: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 446e72f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment