Message ID | 1423100070-31848-12-git-send-email-dsahern@gmail.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/include/net/netlink.h b/include/net/netlink.h index e010ee8da41d..587a6ef973e5 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -4,6 +4,7 @@ #include <linux/types.h> #include <linux/netlink.h> #include <linux/jiffies.h> +#include <net/net_namespace.h> /* ======================================================================== * Netlink Messages and Attributes Interface (As Seen On TV) @@ -221,7 +222,8 @@ struct nla_policy { */ struct nl_info { struct nlmsghdr *nlh; - struct net *nl_net; + struct net_ctx nl_net_ctx; +#define nl_net nl_net_ctx.net u32 portid; };
Signed-off-by: David Ahern <dsahern@gmail.com> --- include/net/netlink.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)