OSDN Git Service

tcp: rename sk_wmem_free_skb
authorTalal Ahmad <talalahmad@google.com>
Sat, 30 Oct 2021 02:05:41 +0000 (22:05 -0400)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Nov 2021 23:33:27 +0000 (16:33 -0700)
commit03271f3a3594c0e88f68d8cfbec0ba250b2c538a
tree0d0df69189414f592c05f81aa5411fef3b80eb4f
parent047304d0bfa5be2ace106974f87eec51e0832cd0
tcp: rename sk_wmem_free_skb

sk_wmem_free_skb() is only used by TCP.

Rename it to make this clear, and move its declaration to
include/net/tcp.h

Signed-off-by: Talal Ahmad <talalahmad@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Arjun Roy <arjunroy@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sock.h
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_output.c