[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1380035640.3165.68.camel@edumazet-glaptop>
Date: Tue, 24 Sep 2013 08:14:00 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
"Steinar H. Gunderson" <sesse@...gle.com>,
Michael Kerrisk <mtk.manpages@...il.com>
Subject: Re: [PATCH net-next] net: introduce SO_MAX_PACING_RATE
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists