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)
commitf4c9f85f3b2cb7669830cd04d0be61192a4d2436
tree849337c47d2d427369237e15b6b8eb8980c0a831
parentf7225172f25aaf0dfd9ad65f05be8da5d6108b12
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