OSDN Git Service

Merge branch 'net-zerocopy-refine'
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 21:44:14 +0000 (16:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 21:44:14 +0000 (16:44 -0500)
commit55b07a65e15bea6e253a907dacaf89b61fe504ca
tree9acc15d07f24c796c13c6d8999de8c206827aa49
parent1f119f90382a017dd0dc27340e1c80b83aa3e9cd
parent8ddab50839e29e965460b2cf794fd2b06a946893
Merge branch 'net-zerocopy-refine'

Willem de Bruijn says:

====================
zerocopy refinements

1/4 is a small optimization follow-up to the earlier fix to skb_segment:
    check skb state once per skb, instead of once per frag.
2/4 makes behavior more consistent between standard and zerocopy send:
    set the PSH bit when hitting MAX_SKB_FRAGS. This helps GRO.
3/4 resolves a surprising inconsistency in notification:
    because small packets were not stored in frags, they would not set
    the copied error code over loopback. This change also optimizes
    the path by removing copying and making tso_fragment cheaper.
4/4 follows-up to 3/4 by no longer allocated now unused memory.
    this was actually already in RFC patches, but dropped as I pared
    down the patch set during revisions.
====================

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