Commit 7cccf7ec authored by David S. Miller's avatar David S. Miller

[TCP]: Rename tcp_skb_psize() to tcp_skb_mss().

On request from Herbert Xu.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1d445df
......@@ -1167,7 +1167,7 @@ static inline int tcp_skb_pcount(struct sk_buff *skb)
}
/* This is valid iff tcp_skb_pcount() > 1. */
static inline int tcp_skb_psize(struct sk_buff *skb)
static inline int tcp_skb_mss(struct sk_buff *skb)
{
return skb_shinfo(skb)->tso_size;
}
......
......@@ -2369,7 +2369,7 @@ static int tcp_tso_acked(struct sock *sk, struct sk_buff *skb,
{
struct tcp_opt *tp = tcp_sk(sk);
struct tcp_skb_cb *scb = TCP_SKB_CB(skb);
__u32 mss = tcp_skb_psize(skb);
__u32 mss = tcp_skb_mss(skb);
__u32 snd_una = tp->snd_una;
__u32 orig_seq, seq;
__u32 packets_acked = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment