Thread (6 messages) flat view 6 messages, 3 authors, 2012-09-07

Re: [PATCH v3 1/3] tcp: add generic netlink support for tcp_metrics

From: David Miller <davem@davemloft.net>
Date: 2012-09-05 19:17:35

From: Julian Anastasov <ja@ssi.bg>
Date: Wed,  5 Sep 2012 00:03:15 +0300
	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>
Looks great, applied to net-next, thanks Julian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help