netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: "David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com
Subject: [PATCH]: fix no_cong_thresh sysctl
Date: Tue, 22 Jul 2003 17:35:16 +0200	[thread overview]
Message-ID: <3F1D59B4.3080307@trash.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

Hi David,
these two patches fix the net.core.no_cong_thresh sysctl, the value
accessed is in fact no_cong.

Best regards,
Patrick

[-- Attachment #2: linux-2.4.21-sysctl_net_core-no_cong_thresh.diff --]
[-- Type: text/plain, Size: 482 bytes --]

===== net/core/sysctl_net_core.c 1.4 vs edited =====
--- 1.4/net/core/sysctl_net_core.c	Wed Aug  7 18:17:09 2002
+++ edited/net/core/sysctl_net_core.c	Tue Jul 22 16:50:29 2003
@@ -55,7 +55,7 @@
 	 &netdev_max_backlog, sizeof(int), 0644, NULL,
 	 &proc_dointvec},
 	{NET_CORE_NO_CONG_THRESH, "no_cong_thresh",
-	 &no_cong, sizeof(int), 0644, NULL,
+	 &no_cong_thresh, sizeof(int), 0644, NULL,
 	 &proc_dointvec},
 	{NET_CORE_NO_CONG, "no_cong",
 	 &no_cong, sizeof(int), 0644, NULL,

[-- Attachment #3: linux-2.5.75-sysctl_net_core-no_cong_thresh.diff --]
[-- Type: text/plain, Size: 401 bytes --]

===== net/core/sysctl_net_core.c 1.4 vs edited =====
--- 1.4/net/core/sysctl_net_core.c	Wed Apr 30 08:44:14 2003
+++ edited/net/core/sysctl_net_core.c	Tue Jul 22 16:51:35 2003
@@ -86,7 +86,7 @@
 	{
 		.ctl_name	= NET_CORE_NO_CONG_THRESH,
 		.procname	= "no_cong_thresh",
-		.data		= &no_cong,
+		.data		= &no_cong_thresh,
 		.maxlen		= sizeof(int),
 		.mode		= 0644,
 		.proc_handler	= &proc_dointvec

             reply	other threads:[~2003-07-22 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-22 15:35 Patrick McHardy [this message]
2003-07-23  6:37 ` [PATCH]: fix no_cong_thresh sysctl David S. Miller

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=3F1D59B4.3080307@trash.net \
    --to=kaber@trash.net \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.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).