Hi,
attached bugfix.
Kind regards,
Ingo Flaschberger
--- /usr/src/sys/net/radix_mpath.c_org 2010-08-23 16:36:57.000000000 +0000
+++ /usr/src/sys/net/radix_mpath.c 2010-08-23 16:38:18.000000000 +0000
@@ -294,6 +294,9 @@
weight >= rt->rt_rmx.rmx_weight && rn;
weight -= rt->rt_rmx.rmx_weight) {
+ /* check if next key exists */
+ if (rn->rn_dupedkey == NULL)
+ break;
/* stay within the multipath routes */
if (rn->rn_dupedkey && rn->rn_mask != rn->rn_dupedkey->rn_mask)
break;
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"