]> 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>
Fri, 8 Apr 2022 12:06:33 +0000 (14:06 +0200)
commitd182b6d1e630bfaaf911754ef73eb7b4586ea80f
tree6579cabb4a2e252edbc5217285ce606521596aa7
parent134f76bad2d887a9072e79bb1725256ca4778f53
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