diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-09-04 11:03:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-05 15:15:02 -0400 |
commit | d23ff701643a4a725e2c7a8ba2d567d39daa29ea (patch) | |
tree | 039dbda9d59c1e18df6a89f600226924d452fbed /include/linux/Kbuild | |
parent | ab868256f8d6095e7200d928fcc054b66d0f13a3 (diff) |
tcp: add generic netlink support for tcp_metrics
Add support for genl "tcp_metrics". No locking
is changed, only that now we can unlink and delete
entries after grace period. We implement get/del for
single entry and dump to support show/flush filtering
in user space. Del without address attribute causes
flush for all addresses, sadly under genl_mutex.
v2:
- remove rcu_assign_pointer as suggested by Eric Dumazet,
it is not needed because there are no other writes under lock
- move the flushing code in tcp_metrics_flush_all
v3:
- remove synchronize_rcu on flush as suggested by Eric Dumazet
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/Kbuild')
-rw-r--r-- | include/linux/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 1f2c1c787f1..90da0af2835 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -363,6 +363,7 @@ header-y += sysctl.h header-y += sysinfo.h header-y += taskstats.h header-y += tcp.h +header-y += tcp_metrics.h header-y += telephony.h header-y += termios.h header-y += time.h |