]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita425f09cd2b7b55159bc61c556a1a8229e00c04e
tree4d593cd01e8f7783935fae566b9e2cb4a29159a6
parent63de02609da00fa96bfa9012b17513f4ef1fdd98
ipv6: udp: leverage scratch area helpers

The commit 00219296fbc1 ("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