ipv6: udp: leverage scratch area helpers
authorPaolo Abeni <pabeni@redhat.com>
Mon, 26 Jun 2017 17:01:51 +0000 (19:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jun 2017 19:43:57 +0000 (15:43 -0400)
commit67a51780aebb683c3b217b2867e25102cdb0afbc
tree4d593cd01e8f7783935fae566b9e2cb4a29159a6
parentb26bbdae460ba90fb8cda37123a66be15a43a2a9
ipv6: udp: leverage scratch area helpers

The commit b65ac44674dd ("udp: try to avoid 2 cache miss on dequeue")
leveraged the scratched area helpers for UDP v4 but I forgot to
update accordingly the IPv6 code path.

This change extends the scratch area usage to the IPv6 code, synching
the two implementations and giving some performance benefit.
IPv6 is again almost on the same level of IPv4, performance-wide.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c