You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Revert "genl: Add genlmsg_new_unicast() for unicast message allocation"
This reverts commit bb9b18fb55 ("genl: Add genlmsg_new_unicast() for
unicast message allocation")'.
Nothing wrong with it; its no longer needed since this was only for
mmapped netlink support.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
551ddc057e
commit
263ea09084
@@ -1477,7 +1477,7 @@ error:
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
static struct sk_buff *ovs_dp_cmd_alloc_info(struct genl_info *info)
|
||||
static struct sk_buff *ovs_dp_cmd_alloc_info(void)
|
||||
{
|
||||
return genlmsg_new(ovs_dp_cmd_msg_size(), GFP_KERNEL);
|
||||
}
|
||||
@@ -1532,7 +1532,7 @@ static int ovs_dp_cmd_new(struct sk_buff *skb, struct genl_info *info)
|
||||
if (!a[OVS_DP_ATTR_NAME] || !a[OVS_DP_ATTR_UPCALL_PID])
|
||||
goto err;
|
||||
|
||||
reply = ovs_dp_cmd_alloc_info(info);
|
||||
reply = ovs_dp_cmd_alloc_info();
|
||||
if (!reply)
|
||||
return -ENOMEM;
|
||||
|
||||
@@ -1653,7 +1653,7 @@ static int ovs_dp_cmd_del(struct sk_buff *skb, struct genl_info *info)
|
||||
struct datapath *dp;
|
||||
int err;
|
||||
|
||||
reply = ovs_dp_cmd_alloc_info(info);
|
||||
reply = ovs_dp_cmd_alloc_info();
|
||||
if (!reply)
|
||||
return -ENOMEM;
|
||||
|
||||
@@ -1686,7 +1686,7 @@ static int ovs_dp_cmd_set(struct sk_buff *skb, struct genl_info *info)
|
||||
struct datapath *dp;
|
||||
int err;
|
||||
|
||||
reply = ovs_dp_cmd_alloc_info(info);
|
||||
reply = ovs_dp_cmd_alloc_info();
|
||||
if (!reply)
|
||||
return -ENOMEM;
|
||||
|
||||
@@ -1719,7 +1719,7 @@ static int ovs_dp_cmd_get(struct sk_buff *skb, struct genl_info *info)
|
||||
struct datapath *dp;
|
||||
int err;
|
||||
|
||||
reply = ovs_dp_cmd_alloc_info(info);
|
||||
reply = ovs_dp_cmd_alloc_info();
|
||||
if (!reply)
|
||||
return -ENOMEM;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user