summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-10-02 05:50:35 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-10-02 05:50:35 +0000
commite01f0b6fbf934d40713b7e566e0f9b888e4093b3 (patch)
tree6c781037975f5e53999af73a51ccd74b172d0d1b /sys/net
parent977c6feb7e30b1642b68e46257941cfd68429c5e (diff)
do not try to send incomplete fragments on ENOBUFS case
(behavior change from 4.4bsd). dhartmei ok
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 2925882af27..23d83c3315b 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.124 2003/08/15 20:32:19 tedu Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.125 2003/10/02 05:50:34 itojun Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -2525,7 +2525,7 @@ bridge_fragment(struct bridge_softc *sc, struct ifnet *ifp,
}
error = ip_fragment(m, ifp, ifp->if_mtu);
- if (error == EMSGSIZE)
+ if (error)
goto dropit;
for (; m; m = m0) {