]> 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)
commitb915d5a890f6708696b406b157dc6ab80bc235ee
tree849337c47d2d427369237e15b6b8eb8980c0a831
parent221a996ad2bd0f391096959107f87ba27a7d4ea0
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