OSDN Git Service

Merge branch 'tcp_v6_gso_csum_prep'
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Feb 2020 19:21:00 +0000 (11:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Feb 2020 19:21:00 +0000 (11:21 -0800)
Heiner Kallweit says:

====================
net: core: add helper tcp_v6_gso_csum_prep

Several network drivers for chips that support TSO6 share the same code
for preparing the TCP header, so let's factor it out to a helper.
A difference is that some drivers reset the payload_len whilst others
don't do this. This value is overwritten by TSO anyway, therefore
the new helper resets it in general.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge