]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ebd25dabf2761a80b29e8b5895e31dca3f35e6a
treec5aa3c419911b8ea7a78f8e5e66d3d04147875a0
parente8bf387a558a4909fc0608d8b546fbcacc44f78b
udpv6: Add lockless sendmsg() support

This commit adds the same functionaliy to IPv6 that
commit 38712ecbdfc1dd1a9603c9ee7ebd0ae074663079
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