|
@@ -2333,9 +2333,9 @@ static bool tcp_any_retrans_done(const struct sock *sk)
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
-#if FASTRETRANS_DEBUG > 1
|
|
|
|
static void DBGUNDO(struct sock *sk, const char *msg)
|
|
static void DBGUNDO(struct sock *sk, const char *msg)
|
|
{
|
|
{
|
|
|
|
+#if FASTRETRANS_DEBUG > 1
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct inet_sock *inet = inet_sk(sk);
|
|
struct inet_sock *inet = inet_sk(sk);
|
|
|
|
|
|
@@ -2357,10 +2357,8 @@ static void DBGUNDO(struct sock *sk, const char *msg)
|
|
tp->packets_out);
|
|
tp->packets_out);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
-}
|
|
|
|
-#else
|
|
|
|
-#define DBGUNDO(x...) do { } while (0)
|
|
|
|
#endif
|
|
#endif
|
|
|
|
+}
|
|
|
|
|
|
static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss)
|
|
static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss)
|
|
{
|
|
{
|