mctp: Allow per-netns default networks
Currently we have a compile-time default network (MCTP_INITIAL_DEFAULT_NET). This change introduces a default_net field on the net namespace, allowing future configuration for new interfaces. Signed-off-by: Matt Johnston <matt@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
26ab3fcaf2
commit
03f2bbc4ee
6 changed files with 23 additions and 2 deletions
|
|
@ -26,7 +26,6 @@ struct sockaddr_mctp {
|
|||
};
|
||||
|
||||
#define MCTP_NET_ANY 0x0
|
||||
#define MCTP_NET_DEFAULT 0x0
|
||||
|
||||
#define MCTP_ADDR_NULL 0x00
|
||||
#define MCTP_ADDR_ANY 0xff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue