netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: raise.sail@gmail.com
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com,
	panweiping3@gmail.com, bingtian.ly@taobao.com
Subject: Re: [PATCH net-next] avoid to hang up on sending since sysctl configuration overflow.
Date: Mon, 28 Jan 2013 23:16:23 -0500 (EST)	[thread overview]
Message-ID: <20130128.231623.1606743073399806303.davem@davemloft.net> (raw)
In-Reply-To: <1359009328-24582-1-git-send-email-bingtian.ly@taobao.com>

From: Li Yu <raise.sail@gmail.com>
Date: Thu, 24 Jan 2013 14:35:28 +0800

> From: bingtian.ly@taobao.com
> 
>     I found if we write large than 4GB value to some sysctl variables,
> the sending syscall will hang up forever, because of these variables
> are 32 bits, such large value bring them overflow to 0 or negative.
> 
>     This patch try to fix overflow or prevent from zero value setup
> of below sysctl variables:
> 
> net.core.wmem_default
> net.core.rmem_default
> 
> net.core.rmem_max
> net.core.wmem_max
> 
> net.ipv4.udp_rmem_min
> net.ipv4.udp_wmem_min
> 
> net.ipv4.tcp_wmem
> net.ipv4.tcp_rmem
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Li Yu <raise.sail@gmail.com>

Applied, thanks.

      reply	other threads:[~2013-01-29  4:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24  6:35 [PATCH net-next] avoid to hang up on sending since sysctl configuration overflow Li Yu
2013-01-29  4:16 ` David Miller [this message]

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=20130128.231623.1606743073399806303.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=bingtian.ly@taobao.com \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=panweiping3@gmail.com \
    --cc=raise.sail@gmail.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).