]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56998cc7d5db34acbf4b2576fd9d331ea77aaed8
tree78f17fe6f80ec35b08f71cffd333274bea1896a7
parentf3adb534187e438c208ce5856e25b8b345e600b9
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