[INET]: Add IP(V6)_PMTUDISC_RPOBE
Add IP(V6)_PMTUDISC_PROBE value for IP(V6)_MTU_DISCOVER. This option forces us not to fragment, but does not make use of the kernel path MTU discovery. That is, it allows for user-mode MTU probing (or, packetization-layer path MTU discovery). This is particularly useful for diagnostic utilities, like traceroute/tracepath. Signed-off-by: John Heffner <jheffner@psc.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b881ef7603
commit
628a5c5618
@ -694,7 +694,7 @@ done:
|
||||
retv = ip6_ra_control(sk, val, NULL);
|
||||
break;
|
||||
case IPV6_MTU_DISCOVER:
|
||||
if (val<0 || val>2)
|
||||
if (val<0 || val>3)
|
||||
goto e_inval;
|
||||
np->pmtudisc = val;
|
||||
retv = 0;
|
||||
|
Reference in New Issue
Block a user