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:Michal Luczaj <mhal@rbox.co> Signed-off-by:
Paolo Abeni <pabeni@redhat.com>
Loading
Please sign in to comment