diff options
author | Florian Westphal <fw@strlen.de> | 2016-02-18 17:03:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 19:42:19 +0300 |
commit | 263ea09084d172cac6e40459a690babe8de8e448 (patch) | |
tree | 895a8c5db956086687472eda62a9f49fa68c9b3a /net/tipc | |
parent | 551ddc057e290cc07ff900050da242f35d615d3c (diff) | |
download | linux-263ea09084d172cac6e40459a690babe8de8e448.tar.xz |
Revert "genl: Add genlmsg_new_unicast() for unicast message allocation"
This reverts commit bb9b18fb55b0 ("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>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/netlink_compat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/netlink_compat.c b/net/tipc/netlink_compat.c index 2c016fdefe97..de66d8f945ed 100644 --- a/net/tipc/netlink_compat.c +++ b/net/tipc/netlink_compat.c @@ -1104,7 +1104,6 @@ static int tipc_nl_compat_recv(struct sk_buff *skb, struct genl_info *info) req_nlh = (struct nlmsghdr *)skb->data; msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; msg.cmd = req_userhdr->cmd; - msg.dst_sk = info->dst_sk; msg.net = genl_info_net(info); if ((msg.cmd & 0xC000) && (!netlink_net_capable(skb, CAP_NET_ADMIN))) { |