Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet ahem, min -> max in previous
details: https://anonhg.NetBSD.org/src/rev/f7c73a8eccc1
branches: trunk
changeset: 757026:f7c73a8eccc1
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Aug 11 11:06:42 2010 +0000
description:
ahem, min -> max in previous
diffstat:
sys/netinet/ip_carp.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 92398684e58a -r f7c73a8eccc1 sys/netinet/ip_carp.c
--- a/sys/netinet/ip_carp.c Wed Aug 11 10:44:07 2010 +0000
+++ b/sys/netinet/ip_carp.c Wed Aug 11 11:06:42 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_carp.c,v 1.43 2010/08/11 09:36:44 pooka Exp $ */
+/* $NetBSD: ip_carp.c,v 1.44 2010/08/11 11:06:42 pooka Exp $ */
/* $OpenBSD: ip_carp.c,v 1.113 2005/11/04 08:11:54 mcbride Exp $ */
/*
@@ -30,7 +30,7 @@
#include "opt_inet.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.43 2010/08/11 09:36:44 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v 1.44 2010/08/11 11:06:42 pooka Exp $");
/*
* TODO:
@@ -1151,7 +1151,7 @@
arprequest(sc->sc_carpdev, in, in, CLLADDR(sc->sc_if.if_sadl));
/* XXX: why does this need to delay? */
- kpause("carpdel", false, MIN(1, mstohz(1)), NULL);
+ kpause("carpdel", false, MAX(1, mstohz(1)), NULL);
}
splx(s);
}
@@ -1175,7 +1175,7 @@
ND_NA_FLAG_OVERRIDE, 1, NULL);
/* XXX: why does this need to delay? */
- kpause("carpdel6", false, MIN(1, mstohz(1)), NULL);
+ kpause("carpdel6", false, MAX(1, mstohz(1)), NULL);
}
splx(s);
}
Home |
Main Index |
Thread Index |
Old Index