diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2007-12-11 05:23:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:57:10 -0500 |
commit | 0a3e78ac2c555441f5bc00588070058533bc8d6b (patch) | |
tree | c5d406c1ea39ae256bc682e5d824682e0a6f6d56 /include/net/ipv6.h | |
parent | 51602b2a5e849babd94311e555bf1ba58151b8d4 (diff) |
[IPV6]: make flowlabel to return an error
This patch makes the flowlab subsystem to return an error code and makes
some cleanup with procfs ifdefs.
The af_inet6 will use the flowlabel init return code to check the initialization
was correct.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 38df94b5fb26..4d9106580950 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -219,7 +219,7 @@ extern struct ipv6_txoptions *fl6_merge_options(struct ipv6_txoptions * opt_spac | |||
219 | struct ipv6_txoptions * fopt); | 219 | struct ipv6_txoptions * fopt); |
220 | extern void fl6_free_socklist(struct sock *sk); | 220 | extern void fl6_free_socklist(struct sock *sk); |
221 | extern int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen); | 221 | extern int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen); |
222 | extern void ip6_flowlabel_init(void); | 222 | extern int ip6_flowlabel_init(void); |
223 | extern void ip6_flowlabel_cleanup(void); | 223 | extern void ip6_flowlabel_cleanup(void); |
224 | 224 | ||
225 | static inline void fl6_sock_release(struct ip6_flowlabel *fl) | 225 | static inline void fl6_sock_release(struct ip6_flowlabel *fl) |