]> git.ipfire.org Git - thirdparty/linux.git/commit
smack: Remove IPPROTO_UDPLITE support in security_sock_rcv_skb().
authorKuniyuki Iwashima <kuniyu@google.com>
Wed, 11 Mar 2026 05:19:53 +0000 (05:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Mar 2026 01:57:44 +0000 (18:57 -0700)
commitb972cb5d397e0e9575d953a6c6b983c708de0326
tree925d8ba207153789fc50cdfd2c0dbb172d8b6340
parent7accba6fd1ab60fb4f3a5c15c52d6fbb3af7f3a3
smack: Remove IPPROTO_UDPLITE support in security_sock_rcv_skb().

smack_socket_sock_rcv_skb() is registered as socket_sock_rcv_skb,
which is called as security_sock_rcv_skb() in sk_filter_trim_cap().

Now that UDP-Lite is gone, let's remove the IPPROTO_UDPLITE support
in smack_socket_sock_rcv_skb().

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Link: https://patch.msgid.link/20260311052020.1213705-7-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
security/smack/smack_lsm.c