Commit 79b40f91 authored by Casey Schaufler's avatar Casey Schaufler Committed by Zheng Zengkai
Browse files

Fix incorrect type in assignment of ipv6 port for audit

stable inclusion
from stable-v5.10.110
commit f038185b6a62e05c3258a4353c7183f8d1b24b1e
bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f038185b6a62e05c3258a4353c7183f8d1b24b1e



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

[ Upstream commit a5cd1ab7 ]

Remove inappropriate use of ntohs() and assign the
port value directly.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 7579201f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment