diff options
author | Tom Herbert <therbert@google.com> | 2014-09-20 14:52:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-26 00:22:46 -0400 |
commit | d020f8f73318589bf41f864b7f89f95669350873 (patch) | |
tree | d31c3e518fc4ea7dda9bacef18daa8d151f65a73 /net/mpls | |
parent | 2fdbfea5735d3deb30a8782c57f7210cb034e69d (diff) |
tcp: move logic out of tcp_v[64]_gso_send_check
In tcp_v[46]_gso_send_check the TCP checksum is initialized to the
pseudo header checksum using __tcp_v[46]_send_check. We can move this
logic into new tcp[46]_gso_segment functions to be done when
ip_summed != CHECKSUM_PARTIAL (ip_summed == CHECKSUM_PARTIAL should be
the common case, possibly always true when taking GSO path). After this
change tcp_v[46]_gso_send_check is no-op.
Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions