diff options
| author | Eric Dumazet <[email protected]> | 2019-07-01 13:39:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-07-01 17:54:51 +0000 |
| commit | a346abe051bd2bd0d5d0140b2da9ec95639acad7 (patch) | |
| tree | 1e03874ac049b3d298d382e678a84b68f7ce5f12 /net/ipv6/sysctl_net_ipv6.c | |
| parent | Merge tag 'mlx5e-updates-2019-06-28' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-a346abe051bd2bd0d5d0140b2da9ec95639acad7.tar.gz kernel-a346abe051bd2bd0d5d0140b2da9ec95639acad7.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
| -rw-r--r-- | net/ipv6/sysctl_net_ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c index 6d86fac472e7..8b3fe81783ed 100644 --- a/net/ipv6/sysctl_net_ipv6.c +++ b/net/ipv6/sysctl_net_ipv6.c @@ -23,7 +23,7 @@ static int zero; static int one = 1; -static int three = 3; +static int flowlabel_reflect_max = 0x7; static int auto_flowlabels_min; static int auto_flowlabels_max = IP6_AUTO_FLOW_LABEL_MAX; @@ -116,7 +116,7 @@ static struct ctl_table ipv6_table_template[] = { .mode = 0644, .proc_handler = proc_dointvec, .extra1 = &zero, - .extra2 = &three, + .extra2 = &flowlabel_reflect_max, }, { .procname = "max_dst_opts_number", |
