]> rtime.felk.cvut.cz Git - can-eth-gw-linux.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)
commit0e71c55c9e3eb32de08e17152ec739582afc9400
treee0e18744fb2d17cdf73193d6c2fcbfc296c7ebe3
parent354e4aa391ed50a4d827ff6fc11e0667d0859b25
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