net: reallocate new socket option number for IPV6_AUTOFLOWLABEL
Subsystems (3)
Pablo Neira Ayuso
maintainerPATCH 1/1 net: reallocate new socket option number for IPV6_AUTOFLOWLABEL
cb1ce2e ("ipv6: Implement automatic flow label generation on transmit") accidentally uses socket option 64, which is already used by ip6tables:
IP6T_SO_SET_REPLACE / IP6T_SO_GET_INFO 64
IP6T_SO_SET_ADD_COUNTERS / IP6T_SO_GET_ENTRIES 65
There is comment include/uapi/linux/in6.h warning about that.
--- include/uapi/linux/in6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/in6.h +1 -1
@@ -233,7 +233,6 @@ struct in6_flowlabel_req {#if 0 /* not yet */ #define IPV6_USE_MIN_MTU 63#endif -#define IPV6_AUTOFLOWLABEL 64/* * Netfilter (1)
@@ -250,6 +249,7 @@ struct in6_flowlabel_req {*/ #define IPV6_RECVTCLASS 66#define IPV6_TCLASS 67 +#define IPV6_AUTOFLOWLABEL 68/* * Netfilter (2)
Signature · 1 line
1.7.10.4
Florian Westphal
maintainerQuoted 27 lines · Pablo Neira Ayuso
cb1ce2e ("ipv6: Implement automatic flow label generation on transmit") accidentally uses socket option 64, which is already used by ip6tables:
IP6T_SO_SET_REPLACE/IP6T_SO_GET_INFO64
IP6T_SO_SET_ADD_COUNTERS/IP6T_SO_GET_ENTRIES65There is comment
include/uapi/linux/in6.hwarning about that.Cc Tom Herbert <[email protected]>Signed-off-by Pablo Neira Ayuso <[email protected]>--- include/uapi/linux/in6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/linux/in6.h +0
-1@@ -233,7 +233,6 @@ struct in6_flowlabel_req {#if 0 /* not yet */ #define IPV6_USE_MIN_MTU 63#endif -#define IPV6_AUTOFLOWLABEL 64/* * Netfilter (1)
include/uapi/linux/in6.h struct in6_flowlabel_req { · line 252
Quoted 4 lines
include/uapi/linux/in6.h +1
-0@@ -250,6 +249,7 @@ struct in6_flowlabel_req {*/ #define IPV6_RECVTCLASS 66#define IPV6_TCLASS 67 +#define IPV6_AUTOFLOWLABEL 68
This clashes with IP6T_SO_GET_REVISION_MATCH 8-}
Pablo Neira Ayuso
maintainerQuoted 7 lines · Pablo Neira Ayuso
cb1ce2e ("ipv6: Implement automatic flow label generation on transmit") accidentally uses socket option 64, which is already used by ip6tables:
IP6T_SO_SET_REPLACE/IP6T_SO_GET_INFO64
IP6T_SO_SET_ADD_COUNTERS/IP6T_SO_GET_ENTRIES65There is comment
include/uapi/linux/in6.hwarning about that.
Wrong patch, 68 is also used.
Sending a v2.
David Miller
maintainerFrom: Florian Westphal <[email protected]>
Date: Thu, 7 Aug 2014 00:13:13 +0200
Quoted 11 lines
Quoted 10 lines · Pablo Neira Ayuso
cb1ce2e ("ipv6: Implement automatic flow label generation on transmit") accidentally uses socket option 64, which is already used by ip6tables:
IP6T_SO_SET_REPLACE/IP6T_SO_GET_INFO64
IP6T_SO_SET_ADD_COUNTERS/IP6T_SO_GET_ENTRIES65There is comment
include/uapi/linux/in6.hwarning about that.Cc Tom Herbert <[email protected]>Signed-off-by Pablo Neira Ayuso <[email protected]>
...
Quoted 7 lines
include/uapi/linux/in6.h struct in6_flowlabel_req { · line 252
Quoted 5 lines
include/uapi/linux/in6.h +1
-0@@ -250,6 +249,7 @@ struct in6_flowlabel_req {*/ #define IPV6_RECVTCLASS 66#define IPV6_TCLASS 67 +#define IPV6_AUTOFLOWLABEL 68This clashes with
IP6T_SO_GET_REVISION_MATCH8-}
:-) 77 appears to be the next actually usable value.