[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130530.180722.393027289131894498.davem@davemloft.net>
Date: Thu, 30 May 2013 18:07:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ycheng@...gle.com
Cc: ncardwell@...gle.com, edumazet@...gle.com, nanditad@...gle.com,
aterzis@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH 2/4 net-next] tcp: refactor undo functions
From: Yuchung Cheng <ycheng@...gle.com>
Date: Wed, 29 May 2013 17:20:12 -0700
> Refactor and relocate various functions or variables to prepare the
> undo fix. Remove some unused function arguments. Rename tcp_undo_cwr
> to tcp_undo_cwnd_reduction to be consistent with the rest of
> CWR related function names.
>
> Signed-off-by: Yuchung Cheng <ycheng@...gle.com>
Applied, but:
> -static void tcp_undo_cwr(struct sock *sk, const bool undo_ssthresh)
> +static void tcp_undo_cwnd_reduction(struct sock *sk, const bool undo_ssthresh,
> + bool unmark_loss)
Both bool arguments seem const to me. Please audit the rest of the
functions you changed and send a cleanup patch to consistently use
const wherever possible.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists