diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-03-26 19:53:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-26 19:53:08 -0400 |
commit | 60e8fbc4c53d3ef0cbffa393a9e7b77e2a1bae58 (patch) | |
tree | 018c82c585b921c19f096858550ac74da342406c /include/net/ipv6.h | |
parent | 6ab57e7e7fa316552d0f94eaebf1def1d49f18da (diff) |
[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.h | 1 |
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 | |||
202 | u32 owner; | 202 | u32 owner; |
203 | unsigned long lastuse; | 203 | unsigned long lastuse; |
204 | unsigned long expires; | 204 | unsigned long expires; |
205 | struct net *fl_net; | ||
205 | }; | 206 | }; |
206 | 207 | ||
207 | #define IPV6_FLOWINFO_MASK __constant_htonl(0x0FFFFFFF) | 208 | #define IPV6_FLOWINFO_MASK __constant_htonl(0x0FFFFFFF) |