All of lore.kernel.org
 help / color / mirror / Atom feed
From: pravin <pravin.shelar@gmail.com>
To: netdev@oss.sgi.com
Cc: Einar Lueck <elueck@de.ibm.com>, "David S. Miller" <davem@davemloft.net>
Subject: [PATCH] bug-fix in multipath_drr.c
Date: Sun, 8 May 2005 17:07:26 +0530	[thread overview]
Message-ID: <bab43330050508043748790ea2@mail.gmail.com> (raw)

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

hi
   This patch fixes a small bug in multipath-drr algorithm registration code.
In function drr_init :: multipath_alg_register(..) is called with
wrong algorithm ID (AFAIU).

Regards,
Pravin.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: multipath_drr-algo-register-fix.patch --]
[-- Type: text/x-patch; name="multipath_drr-algo-register-fix.patch", Size: 607 bytes --]

Signed-off by: Pravin B. Shelar <pravins@calsoftinc.com>
This patch fixes a small bug in multipath_drr algorithm registration code.

Index: linux-2.6.12-rc4/net/ipv4/multipath_drr.c
===================================================================
--- linux-2.6.12-rc4.orig/net/ipv4/multipath_drr.c	2005-05-06 22:20:31.000000000 -0700
+++ linux-2.6.12-rc4/net/ipv4/multipath_drr.c	2005-05-08 03:24:02.000000000 -0700
@@ -244,7 +244,7 @@
 	if (err)
 		return err;
 
-	err = multipath_alg_register(&drr_ops, IP_MP_ALG_RR);
+	err = multipath_alg_register(&drr_ops, IP_MP_ALG_DRR);
 	if (err)
 		goto fail;
 

                 reply	other threads:[~2005-05-08 11:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bab43330050508043748790ea2@mail.gmail.com \
    --to=pravin.shelar@gmail.com \
    --cc=davem@davemloft.net \
    --cc=elueck@de.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.