Message ID | 168382011519.84244.803200053084819033.stgit@91.116.238.104.host.secureserver.net (mailing list archive) |
---|---|
State | Accepted |
Commit | fc490880e39d86c65ab2bcbd357af1950fa55e48 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Bug fixes for net/handshake | expand |
diff --git a/net/handshake/netlink.c b/net/handshake/netlink.c index 16a4bde648ba..1086653e1fad 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;