diff options
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index fa6b75372ed7..40402c59506a 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -845,8 +845,8 @@ found: | |||
845 | * Find some p such that f(p) = fval; return 1/p [RFC 3448, 6.3.1]. | 845 | * Find some p such that f(p) = fval; return 1/p [RFC 3448, 6.3.1]. |
846 | */ | 846 | */ |
847 | if (rtt == 0) { /* would result in divide-by-zero */ | 847 | if (rtt == 0) { /* would result in divide-by-zero */ |
848 | DCCP_WARN("RTT==0, returning 1/p = 1\n"); | 848 | DCCP_WARN("RTT==0\n"); |
849 | return 1000000; | 849 | return ~0; |
850 | } | 850 | } |
851 | 851 | ||
852 | dccp_timestamp(sk, &tstamp); | 852 | dccp_timestamp(sk, &tstamp); |
@@ -858,7 +858,7 @@ found: | |||
858 | DCCP_WARN("X_recv==0\n"); | 858 | DCCP_WARN("X_recv==0\n"); |
859 | if ((x_recv = hcrx->ccid3hcrx_x_recv) == 0) { | 859 | if ((x_recv = hcrx->ccid3hcrx_x_recv) == 0) { |
860 | DCCP_BUG("stored value of X_recv is zero"); | 860 | DCCP_BUG("stored value of X_recv is zero"); |
861 | return 1000000; | 861 | return ~0; |
862 | } | 862 | } |
863 | } | 863 | } |
864 | 864 | ||