Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'Smack-for-5.18' of https://github.com/cschaufler/smack-next

Pull smack update from Casey Schaufler:
"A single fix to repair an incorrect use of ntohs() in IPv6 audit code.
It's very minor and went unnoticed until lkp found it.

It's been in next and passes all tests"

* tag 'Smack-for-5.18' of https://github.com/cschaufler/smack-next:
Fix incorrect type in assignment of ipv6 port for audit

+1 -1
+1 -1
security/smack/smack_lsm.c
··· 2510 2510 #ifdef CONFIG_AUDIT 2511 2511 smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); 2512 2512 ad.a.u.net->family = PF_INET6; 2513 - ad.a.u.net->dport = ntohs(address->sin6_port); 2513 + ad.a.u.net->dport = address->sin6_port; 2514 2514 if (act == SMK_RECEIVING) 2515 2515 ad.a.u.net->v6info.saddr = address->sin6_addr; 2516 2516 else