summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_carp.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-11-12 05:46:45 +0000
committerdlg <dlg@openbsd.org>2015-11-12 05:46:45 +0000
commit23fe1c870b1f75b1063f65b3e97f11e8dc999cd8 (patch)
treeeea757d12c492bcc8beed6514536b6bbe087f75c /sys/netinet/ip_carp.c
parentUse isdigit() instead of ksh's homebrewed alternative. (diff)
downloadwireguard-openbsd-23fe1c870b1f75b1063f65b3e97f11e8dc999cd8.tar.xz
wireguard-openbsd-23fe1c870b1f75b1063f65b3e97f11e8dc999cd8.zip
IFQ_DROP means a drop because enqueue on the send q failed, not cos tx
later failed.
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r--sys/netinet/ip_carp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 028d9c9fd79..90ac78d5911 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.280 2015/11/02 15:56:46 mpi Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.281 2015/11/12 05:46:45 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -2268,7 +2268,6 @@ carp_start(struct ifnet *ifp)
if ((ifp->if_carpdev->if_flags & (IFF_UP|IFF_RUNNING)) !=
(IFF_UP|IFF_RUNNING)) {
- IF_DROP(&ifp->if_carpdev->if_snd);
ifp->if_oerrors++;
m_freem(m);
continue;