From: David Miller <davem@davemloft.net>
To: ja@ssi.bg
Cc: netdev@vger.kernel.org, shemminger@vyatta.com
Subject: Re: [PATCH v3 1/3] tcp: add generic netlink support for tcp_metrics
Date: Wed, 05 Sep 2012 15:17:33 -0400 (EDT) [thread overview]
Message-ID: <20120905.151733.643669381328617078.davem@davemloft.net> (raw)
In-Reply-To: <1346792597-2427-2-git-send-email-ja@ssi.bg>
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.
next prev parent reply other threads:[~2012-09-05 19:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 21:03 [PATCH v3 0/3] Interface for TCP Metrics Julian Anastasov
2012-09-04 21:03 ` [PATCH v3 1/3] tcp: add generic netlink support for tcp_metrics Julian Anastasov
2012-09-05 19:17 ` David Miller [this message]
2012-09-04 21:03 ` [PATCH v3 2/3] iproute2: add " Julian Anastasov
2012-09-07 16:09 ` Stephen Hemminger
2012-09-04 21:03 ` [PATCH v3 3/3] iproute2: use libgenl for ipl2tp Julian Anastasov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120905.151733.643669381328617078.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ja@ssi.bg \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).