Commit 49b2b973 authored by Michal Luczaj's avatar Michal Luczaj Committed by Paolo Abeni
Browse files

net: Comment copy_from_sockptr() explaining its behaviour



copy_from_sockptr() has a history of misuse. Add a comment explaining that
the function follows API of copy_from_user(), i.e. returns 0 for success,
or number of bytes not copied on error.

Signed-off-by: default avatarMichal Luczaj <mhal@rbox.co>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 02020056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment