ipv6: icmp: allow flowlabel reflection in echo replies
Extend flowlabel_reflect bitmask to allow conditional reflection of incoming flowlabels in echo replies. Note this has precedence against auto flowlabels. Add flowlabel_reflect enum to replace hard coded values. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
954a5a0294
commit
a346abe051
@@ -1452,7 +1452,7 @@ flowlabel_reflect - INTEGER
|
||||
environments. See RFC 7690 and:
|
||||
https://tools.ietf.org/html/draft-wang-6man-flow-label-reflection-01
|
||||
|
||||
This is a mask of two bits.
|
||||
This is a bitmask.
|
||||
1: enabled for established flows
|
||||
|
||||
Note that this prevents automatic flowlabel changes, as done
|
||||
@@ -1463,6 +1463,8 @@ flowlabel_reflect - INTEGER
|
||||
If set, a RST packet sent in response to a SYN packet on a closed
|
||||
port will reflect the incoming flow label.
|
||||
|
||||
4: enabled for ICMPv6 echo reply messages.
|
||||
|
||||
Default: 0
|
||||
|
||||
fib_multipath_hash_policy - INTEGER
|
||||
|
Reference in New Issue
Block a user