summaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-03-27 00:53:08 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-27 00:53:08 +0100
commit60e8fbc4c53d3ef0cbffa393a9e7b77e2a1bae58 (patch)
tree018c82c585b921c19f096858550ac74da342406c /include/net/ipv6.h
parent[NETNS][IPV6] anycast - handle several network namespace (diff)
downloadlinux-60e8fbc4c53d3ef0cbffa393a9e7b77e2a1bae58.tar.xz
linux-60e8fbc4c53d3ef0cbffa393a9e7b77e2a1bae58.zip
[NETNS][IPV6] flowlabels - make flowlabels per namespace
This patch introduces a new member, fl_net, in struct ip6_flowlabel. This allows to create labels with the same value in different namespaces. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 1c98e737dbd0..296f61d84709 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -202,6 +202,7 @@ struct ip6_flowlabel
u32 owner;
unsigned long lastuse;
unsigned long expires;
+ struct net *fl_net;
};
#define IPV6_FLOWINFO_MASK __constant_htonl(0x0FFFFFFF)