summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2011-05-04 16:05:50 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2011-05-04 16:05:50 +0000
commit5f848fb5f2f55c199db2de8dfe5d9e5ef6c8ff11 (patch)
treebca9d9b5c4ab3e082c07cc2014c2ccb94db8ad27 /sys/netinet/ip_carp.c
parent59a218178fb54575bf5b30819c39cb1f242e2b65 (diff)
Collapse m_pullup and m_pullup2 into a single function, as they're
essentially identical; the only difference being that m_pullup2 is capable of handling mbuf clusters, but called m_pullup for shorter lengths (!). testing dlg@ ok claudio@
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r--sys/netinet/ip_carp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 18612047086..7c1722d23cb 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.183 2011/04/29 12:36:31 mpf Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.184 2011/05/04 16:05:49 blambert Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -591,7 +591,7 @@ carp_proto_input(struct mbuf *m, ...)
return;
}
- if ((m = m_pullup2(m, len)) == NULL) {
+ if ((m = m_pullup(m, len)) == NULL) {
carpstats.carps_hdrops++;
return;
}