|
@@ -2757,7 +2757,7 @@ static void tcp_get_info_chrono_stats(const struct tcp_sock *tp,
|
|
for (i = TCP_CHRONO_BUSY; i < __TCP_CHRONO_MAX; ++i) {
|
|
for (i = TCP_CHRONO_BUSY; i < __TCP_CHRONO_MAX; ++i) {
|
|
stats[i] = tp->chrono_stat[i - 1];
|
|
stats[i] = tp->chrono_stat[i - 1];
|
|
if (i == tp->chrono_type)
|
|
if (i == tp->chrono_type)
|
|
- stats[i] += tcp_time_stamp - tp->chrono_start;
|
|
|
|
|
|
+ stats[i] += tcp_jiffies32 - tp->chrono_start;
|
|
stats[i] *= USEC_PER_SEC / HZ;
|
|
stats[i] *= USEC_PER_SEC / HZ;
|
|
total += stats[i];
|
|
total += stats[i];
|
|
}
|
|
}
|