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>
This commit is contained in:
committed by
Jakub Kicinski
parent
047304d0bf
commit
03271f3a35
@@ -2412,7 +2412,7 @@ static int tcp_mtu_probe(struct sock *sk)
|
||||
TCP_SKB_CB(nskb)->eor = TCP_SKB_CB(skb)->eor;
|
||||
tcp_skb_collapse_tstamp(nskb, skb);
|
||||
tcp_unlink_write_queue(skb, sk);
|
||||
sk_wmem_free_skb(sk, skb);
|
||||
tcp_wmem_free_skb(sk, skb);
|
||||
} else {
|
||||
TCP_SKB_CB(nskb)->tcp_flags |= TCP_SKB_CB(skb)->tcp_flags &
|
||||
~(TCPHDR_FIN|TCPHDR_PSH);
|
||||
|
||||
Reference in New Issue
Block a user