]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: speedup SIOCINQ ioctl
authorEric Dumazet <edumazet@google.com>
Sun, 21 Oct 2012 20:06:56 +0000 (20:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Oct 2012 18:29:06 +0000 (14:29 -0400)
commitc8491834783bab384941411cf55d4f87c95906d5
treee0e18744fb2d17cdf73193d6c2fcbfc296c7ebe3
parent29260eae7c5cb5a80e7d83559ecf9feaccf7a07e
tcp: speedup SIOCINQ ioctl

SIOCINQ can use the lock_sock_fast() version to avoid double acquisition
of socket lock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c