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)
commitcb704c66c477d2c6f44d2459e8c8dee73f1cd404
tree869f8417a5142dec1579a0623690627234847f08
parent9cb8e048e5d93825ec5e8dfb5b8df4987ea25745
parent091c9f82e52ad525c6c9f4b087e58f8d5d0f75f0
Merge branch 'tcp_v6_gso_csum_prep'

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>