From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: "David S. Miller" <davem@redhat.com>,
Jeroen Vreeken <pe1rxq@amsat.org>,
netdev@oss.sgi.com, linux-hams@vger.kernel.org
Subject: Re: [PATCH] (2/11) netrom - shorten destroy timeout
Date: Thu, 14 Aug 2003 14:23:13 -0300 [thread overview]
Message-ID: <20030814172312.GC1785@conectiva.com.br> (raw)
In-Reply-To: <20030813153920.68d52970.shemminger@osdl.org>
Em Wed, Aug 13, 2003 at 03:39:20PM -0700, Stephen Hemminger escreveu:
>
> From: Jeroen Vreeken <pe1rxq@amsat.org>
>
> Expire sockets faster on close
>
> diff -Nru a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
> --- a/net/netrom/af_netrom.c Wed Aug 13 11:58:31 2003
> +++ b/net/netrom/af_netrom.c Wed Aug 13 11:58:31 2003
> @@ -269,7 +269,7 @@
> atomic_read(&sk->sk_rmem_alloc)) {
> /* Defer: outstanding buffers */
> init_timer(&sk->sk_timer);
> - sk->sk_timer.expires = jiffies + 10 * HZ;
> + sk->sk_timer.expires = jiffies + 2 * HZ;
has this to be a magic fixed number? sysctl?
prev parent reply other threads:[~2003-08-14 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-13 22:39 [PATCH] (2/11) netrom - shorten destroy timeout Stephen Hemminger
2003-08-14 17:23 ` Arnaldo Carvalho de Melo [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=20030814172312.GC1785@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=davem@redhat.com \
--cc=linux-hams@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=pe1rxq@amsat.org \
--cc=shemminger@osdl.org \
/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).