Skip to content
Commit bf5b30b8 authored by Zhao Hongjiang's avatar Zhao Hongjiang Committed by David S. Miller
Browse files

net: change return values from -EACCES to -EPERM



Change return value from -EACCES to -EPERM when the permission check fails.

Signed-off-by: default avatarZhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0c7a4a1
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