]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: refactor tcp_ecn_check_ce to remove sk type cast
authorYousuk Seung <ysseung@google.com>
Mon, 4 Jun 2018 22:29:51 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jun 2018 14:09:27 +0000 (10:09 -0400)
commit29502d9d135f5d74df7157530ea3fe28a23bd939
tree849337c47d2d427369237e15b6b8eb8980c0a831
parentc02b8c8a08f309b47823454a41442b442c894d12
tcp: refactor tcp_ecn_check_ce to remove sk type cast

Refactor tcp_ecn_check_ce and __tcp_ecn_check_ce to accept struct sock*
instead of tcp_sock* to clean up type casts. This is a pure refactor
patch.

Signed-off-by: Yousuk Seung <ysseung@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>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c