]> 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)
commitdda734d2f56d540328dcdfbeea8c53a5ff9219ea
treec5aa3c419911b8ea7a78f8e5e66d3d04147875a0
parentfdb5bb91e797a4785a5c5c83cc6c7a135f21126e
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