netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bug-fix in multipath_drr.c
@ 2005-05-08 11:37 pravin
  0 siblings, 0 replies; only message in thread
From: pravin @ 2005-05-08 11:37 UTC (permalink / raw)
  To: netdev; +Cc: Einar Lueck, David S. Miller

[-- 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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-08 11:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-08 11:37 [PATCH] bug-fix in multipath_drr.c pravin

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).