mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
tipc: move netlink policies to netlink.c
Make the c files less cluttered and enable netlink attributes to be shared between files. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Acked-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8dfd329fbc
commit
49cc66eaee
9 changed files with 85 additions and 74 deletions
|
@ -41,11 +41,7 @@
|
|||
#include "socket.h"
|
||||
#include "node.h"
|
||||
#include "bcast.h"
|
||||
|
||||
static const struct nla_policy tipc_nl_net_policy[TIPC_NLA_NET_MAX + 1] = {
|
||||
[TIPC_NLA_NET_UNSPEC] = { .type = NLA_UNSPEC },
|
||||
[TIPC_NLA_NET_ID] = { .type = NLA_U32 }
|
||||
};
|
||||
#include "netlink.h"
|
||||
|
||||
/*
|
||||
* The TIPC locking policy is designed to ensure a very fine locking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue