History

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.

Matt Johnston committed 5 years ago

Commit 03f2bbc1 parent 26ab3fc6 files · +23 −2Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/mctp.h+0−1
@@ -26,7 +26,6 @@ struct sockaddr_mctp { · 25 unmodified lines
2626 };
2727
2828 #define MCTP_NET_ANY 0x0
29−#define MCTP_NET_DEFAULT 0x0
3029
3130 #define MCTP_ADDR_NULL 0x00
3231 #define MCTP_ADDR_ANY 0xff