Message ID | 168333400429.7813.12377237975512449615.stgit@oracle-102.nfsv4bat.org (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Bug fixes for net/handshake | expand |
On Fri, May 05, 2023 at 08:46:54PM -0400, Chuck Lever wrote: > From: Chuck Lever <chuck.lever@oracle.com> > > Reported-by: Dan Carpenter <dan.carpenter@linaro.org> > Fixes: 3b3009ea8abb ("net/handshake: Create a NETLINK service for handling handshake requests") > Reviewed-by: Simon Horman <simon.horman@corigine.com> > Signed-off-by: Chuck Lever <chuck.lever@oracle.com> > --- > net/handshake/netlink.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
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;