diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2021-07-29 04:20:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-29 16:06:50 +0200 |
commit | 4d8b9319282ae84f5a17b28d8b5b5d1e7e537312 (patch) | |
tree | 761ff24a307a22a4e86aa137ed65757eec346f5b /include/net/netns | |
parent | mctp: Add netlink route management (diff) | |
download | linux-4d8b9319282ae84f5a17b28d8b5b5d1e7e537312.tar.xz linux-4d8b9319282ae84f5a17b28d8b5b5d1e7e537312.zip |
mctp: Add neighbour implementation
Add an initial neighbour table implementation, to be used in the route
output path.
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/mctp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netns/mctp.h b/include/net/netns/mctp.h index 508459b08a59..2f5ebeeb320e 100644 --- a/include/net/netns/mctp.h +++ b/include/net/netns/mctp.h @@ -11,6 +11,10 @@ struct netns_mctp { /* Only updated under RTNL, entries freed via RCU */ struct list_head routes; + + /* neighbour table */ + struct mutex neigh_lock; + struct list_head neighbours; }; #endif /* __NETNS_MCTP_H__ */ |