diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2015-02-09 03:50:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-09 16:20:47 -0500 |
commit | bfb3e5dd8dfd84dfd13649393abab63e43267b00 (patch) | |
tree | 0b3a6d7da8ad04b48521b734347288d0e37d569f /net/tipc/node.c | |
parent | c8ac18f2006b2926ce375c01646b2f487d1c33b2 (diff) |
tipc: move and rename the legacy nl api to "nl compat"
The new netlink API is no longer "v2" but rather the standard API and
the legacy API is now "nl compat". We split them into separate
start/stop and put them in different files in order to further
distinguish them.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 52308498f208..995618d6da9d 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -623,7 +623,7 @@ static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) | |||
623 | void *hdr; | 623 | void *hdr; |
624 | struct nlattr *attrs; | 624 | struct nlattr *attrs; |
625 | 625 | ||
626 | hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_v2_family, | 626 | hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, |
627 | NLM_F_MULTI, TIPC_NL_NODE_GET); | 627 | NLM_F_MULTI, TIPC_NL_NODE_GET); |
628 | if (!hdr) | 628 | if (!hdr) |
629 | return -EMSGSIZE; | 629 | return -EMSGSIZE; |