lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <168333400429.7813.12377237975512449615.stgit@oracle-102.nfsv4bat.org> Date: Fri, 05 May 2023 20:46:54 -0400 From: Chuck Lever <cel@...nel.org> To: kernel-tls-handshake@...ts.linux.dev Cc: netdev@...r.kernel.org, dan.carpenter@...aro.org Subject: [PATCH v2 4/6] net/handshake: handshake_genl_notify() shouldn't ignore @flags From: Chuck Lever <chuck.lever@...cle.com> Reported-by: Dan Carpenter <dan.carpenter@...aro.org> Fixes: 3b3009ea8abb ("net/handshake: Create a NETLINK service for handling handshake requests") Reviewed-by: Simon Horman <simon.horman@...igine.com> Signed-off-by: Chuck Lever <chuck.lever@...cle.com> --- net/handshake/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/handshake/netlink.c b/net/handshake/netlink.c index 11cc275d726a..e865fcf68433 100644 --- a/net/handshake/netlink.c +++ b/net/handshake/netlink.c @@ -48,7 +48,7 @@ int handshake_genl_notify(struct net *net, const struct handshake_proto *proto, proto->hp_handler_class)) return -ESRCH; - msg = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); + msg = genlmsg_new(GENLMSG_DEFAULT_SIZE, flags); if (!msg) return -ENOMEM;
Powered by blists - more mailing lists