Skip to content
Commit fc61b928 authored by Xi Wang's avatar Xi Wang Committed by David S. Miller
Browse files

af_unix: fix shutdown parameter checking



Return -EINVAL rather than 0 given an invalid "mode" parameter.

Signed-off-by: default avatarXi Wang <xi.wang@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46b66d70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment