summaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-03-26 16:53:08 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-26 16:53:08 -0700
commit60e8fbc4c53d3ef0cbffa393a9e7b77e2a1bae58 (patch)
tree018c82c585b921c19f096858550ac74da342406c /include/net/ipv6.h
parent6ab57e7e7fa316552d0f94eaebf1def1d49f18da (diff)
downloadlinux-60e8fbc4c53d3ef0cbffa393a9e7b77e2a1bae58.tar.bz2
[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)