]> www.infradead.org Git - users/willy/linux.git/commit
net/tcp: Move tcp_inbound_hash() from headers
authorDmitry Safonov <0x7f454c46@gmail.com>
Thu, 6 Jun 2024 23:25:57 +0000 (00:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2024 05:39:04 +0000 (06:39 +0100)
commit811efc06e5f30a57030451b2d1998aa81273baf8
treecd32e3c1986fe121d085adfebba9fd7e5b135ba6
parent72863087f635367323693b9ab83c3107e0353c5f
net/tcp: Move tcp_inbound_hash() from headers

Two reasons:
1. It's grown up enough
2. In order to not do header spaghetti by including
   <trace/events/tcp.h>, which is necessary for TCP tracepoints.

While at it, unexport and make static tcp_inbound_ao_hash().

Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c