]> git.baikalelectronics.ru Git - kernel.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)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 28 Feb 2022 23:45:32 +0000 (15:45 -0800)
commiteb947a3b69c97b6bc124e1902c3357b92977bb1e
tree5e0a62e8c1fbddcb0bd3dcc9ac86344252f3163c
parent991a5e519c2aa1f4ed2bf6e2139997d7e7967cb3
Fix incorrect type in assignment of ipv6 port for audit

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>
security/smack/smack_lsm.c