diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2016-09-20 06:39:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-21 07:22:59 +0300 |
commit | f78e73e27fdeab6f9317667f7e9676b59c1ec1fb (patch) | |
tree | 5f8ae6dedbe91b039cb6330db7ada0af22140f24 /include/linux | |
parent | 94d308d060cd3ee65152b8ebd7a1c24fa86eee82 (diff) | |
download | linux-f78e73e27fdeab6f9317667f7e9676b59c1ec1fb.tar.xz |
tcp: cdg: rename struct minmax in tcp_cdg.c to avoid a naming conflict
The upcoming change "lib/win_minmax: windowed min or max estimator"
introduces a struct called minmax, which is then included in
include/linux/tcp.h in the upcoming change "tcp: use windowed min
filter library for TCP min_rtt estimation". This would create a
compilation error for tcp_cdg.c, which defines its own minmax
struct. To avoid this naming conflict (and potentially others in the
future), this commit renames the version used in tcp_cdg.c to
cdg_minmax.
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Kenneth Klette Jonassen <kennetkl@ifi.uio.no>
Acked-by: Kenneth Klette Jonassen <kennetkl@ifi.uio.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions