Skip to content

Commit be26849

Browse files
tomratbertdavem330
authored andcommitted
ipv6: Disable flowlabel state ranges by default
Per RFC6437 stateful flow labels (e.g. labels set by flow label manager) cannot "disturb" nodes taking part in stateless flow labels. While the ranges only reduce the flow label entropy by one bit, it is conceivable that this might bias the algorithm on some routers causing a load imbalance. For best results on the Internet we really need the full 20 bits. Signed-off-by: Tom Herbert <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4224090 commit be26849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/af_inet6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ static int __net_init inet6_net_init(struct net *net)
771771
net->ipv6.sysctl.auto_flowlabels = IP6_DEFAULT_AUTO_FLOW_LABELS;
772772
net->ipv6.sysctl.idgen_retries = 3;
773773
net->ipv6.sysctl.idgen_delay = 1 * HZ;
774-
net->ipv6.sysctl.flowlabel_state_ranges = 1;
774+
net->ipv6.sysctl.flowlabel_state_ranges = 0;
775775
atomic_set(&net->ipv6.fib6_sernum, 1);
776776

777777
err = ipv6_init_mibs(net);

0 commit comments

Comments
 (0)