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)
commita5cd1ab7ab679d252a6d2f483eee7d45ebf2040c
tree5e0a62e8c1fbddcb0bd3dcc9ac86344252f3163c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
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