tcp: reserve tcp_skb_mss() to tcp stack
authorEric Dumazet <edumazet@google.com>
Thu, 11 Jun 2015 16:15:15 +0000 (09:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 23:33:10 +0000 (16:33 -0700)
commita7eea416cb08a514f94c0ca5ff30c18783fab054
tree78f17fe6f80ec35b08f71cffd333274bea1896a7
parent57225e7720ac3d7ffcb0086c716753abf6e54e8d
tcp: reserve tcp_skb_mss() to tcp stack

tcp_gso_segment() and tcp_gro_receive() are not strictly
part of TCP stack. They should not assume tcp_skb_mss(skb)
is in fact skb_shinfo(skb)->gso_size.

This will allow us to change tcp_skb_mss() in following patches.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_offload.c