Commit a7a7a7cf authored by Al Viro's avatar Al Viro Committed by Zheng Zengkai
Browse files

__unix_find_socket_byname(): don't pass hash and type separately

mainline inclusion
from mainline-v5.14-rc1
commit be752283
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4OM1C
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=be752283a2a2b4bfc2df512b5d9b03a34aece252



--------------------------------

We only care about exclusive or of those, so pass that directly.
Makes life simpler for callers as well...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarBaisong Zhong <zhongbaisong@huawei.com>
Reviewed-by: default avatarYue Haibing <yuehaibing@huawei.com>
Reviewed-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 79d3eccb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment