udpv6: Add lockless sendmsg() support
authorVlad Yasevich <vyasevich@gmail.com>
Sat, 31 Jan 2015 15:40:17 +0000 (10:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2015 03:28:04 +0000 (19:28 -0800)
commit03485f2adcde0c2d4e9228b659be78e872486bbb
treec5aa3c419911b8ea7a78f8e5e66d3d04147875a0
parentd39d938c8228a4c5860138a53cf2b9ae4c4baec2
udpv6: Add lockless sendmsg() support

This commit adds the same functionaliy to IPv6 that
commit 903ab86d195cca295379699299c5fc10beba31c7
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Tue Mar 1 02:36:48 2011 +0000

    udp: Add lockless transmit path

added to IPv4.

UDP transmit path can now run without a socket lock,
thus allowing multiple threads to send to a single socket
more efficiently.
This is only used when corking/MSG_MORE is not used.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c