]> 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)
commit34787b9641d410180df5581370c97023c8d65dba
tree4d593cd01e8f7783935fae566b9e2cb4a29159a6
parent83ef6c119be5eebc89a57e104b0e39ce132fb78e
ipv6: udp: leverage scratch area helpers

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