diff options
| author | Talal Ahmad <[email protected]> | 2021-10-30 02:05:41 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-11-01 23:33:27 +0000 |
| commit | 03271f3a3594c0e88f68d8cfbec0ba250b2c538a (patch) | |
| tree | 0d0df69189414f592c05f81aa5411fef3b80eb4f /net/ipv4/tcp_output.c | |
| parent | netdevsim: fix uninit value in nsim_drv_configure_vfs() (diff) | |
| download | kernel-03271f3a3594c0e88f68d8cfbec0ba250b2c538a.tar.gz kernel-03271f3a3594c0e88f68d8cfbec0ba250b2c538a.zip | |
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 <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Acked-by: Arjun Roy <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
| -rw-r--r-- | net/ipv4/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 6867e5db3e35..6fbbf1558033 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -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); |
