inet_diag: fold all_tcp_listener_stats into tcp_listener_stats
commitbf0a3c731ec3573160b9ee40cbfd7e2817d91080
authorEric Wong <normalperson@yhbt.net>
Sat, 12 Mar 2011 09:26:30 +0000 (12 09:26 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 12 Mar 2011 09:26:30 +0000 (12 09:26 +0000)
treec2510be3f8eaddb921c3900b51e58118d1a8259a
parent562e2e243e69f128c47ceb59c5b1710fa35c7081
inet_diag: fold all_tcp_listener_stats into tcp_listener_stats

No reason to have an extra method.  This also speeds up
the multi-listener case for tcp_listener_stats since it
avoids expensive sendmsg() syscalls.
ext/raindrops/linux_inet_diag.c
test/test_linux_all_tcp_listen_stats.rb