From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>,
"Steinar H. Gunderson" <sesse@google.com>,
Michael Kerrisk <mtk.manpages@gmail.com>
Subject: Re: [PATCH net-next] net: introduce SO_MAX_PACING_RATE
Date: Tue, 24 Sep 2013 08:14:00 -0700 [thread overview]
Message-ID: <1380035640.3165.68.camel@edumazet-glaptop> (raw)
In-Reply-To: <1379949014.3165.24.camel@edumazet-glaptop>
On Mon, 2013-09-23 at 08:10 -0700, Eric Dumazet wrote:
> +
> + case SO_MAX_PACING_RATE:
> + sk->sk_max_pacing_rate = val;
> + break;
> +
I'll send a v2, adding here :
sk->sk_pacing_rate = min(sk->sk_pacing_rate, sk->max_pacing_rate);
to enforce current limit for non TCP protocols.
next prev parent reply other threads:[~2013-09-24 15:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-23 15:10 [PATCH net-next] net: introduce SO_MAX_PACING_RATE Eric Dumazet
2013-09-24 15:14 ` Eric Dumazet [this message]
2013-09-24 15:20 ` [PATCH v2 " Eric Dumazet
2013-09-28 22:36 ` David Miller
2013-09-29 8:12 ` [PATCH net-next] net: add missing sk_max_pacing_rate doc Eric Dumazet
2013-10-01 5:11 ` David Miller
2013-09-27 21:16 ` [PATCH net-next] net: introduce SO_MAX_PACING_RATE Steinar H. Gunderson
2013-09-28 0:28 ` Eric Dumazet
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=1380035640.3165.68.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=mtk.manpages@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sesse@google.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