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
26};26};
27 27
28#define MCTP_NET_ANY 0x028#define MCTP_NET_ANY 0x0
29#define MCTP_NET_DEFAULT 0x0
30 29
31#define MCTP_ADDR_NULL 0x0030#define MCTP_ADDR_NULL 0x00
32#define MCTP_ADDR_ANY 0xff31#define MCTP_ADDR_ANY 0xff