]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Fix incorrect type in assignment of ipv6 port for audit
authorCasey Schaufler <casey@schaufler-ca.com>
Mon, 28 Feb 2022 23:45:32 +0000 (15:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:06:38 +0000 (09:06 +0200)
commit8c62a90cd2231124a603c186d33bc91fd7f3bb84
tree292e58ec471a85544fdc4cb4056df3d1161d5a87
parent0e0d0dc27dad0036874d18f712b76ff05a3b89f9
Fix incorrect type in assignment of ipv6 port for audit

[ Upstream commit a5cd1ab7ab679d252a6d2f483eee7d45ebf2040c ]

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

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
security/smack/smack_lsm.c