summaryrefslogtreecommitdiff
path: root/sys/netccitt/if_x25subr.c
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2002-08-08 18:26:38 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2002-08-08 18:26:38 +0000
commit96a5b4648220ed844b1c668eccedc33dbb6c54f9 (patch)
tree1122e5d288ce1c5822b77b62a1b3b16e61e74b39 /sys/netccitt/if_x25subr.c
parent8e4d9a1f7c08ce4dccc0b6802e75ac248f7ccc1c (diff)
backout the tree break. ok pb@, art@
Diffstat (limited to 'sys/netccitt/if_x25subr.c')
-rw-r--r--sys/netccitt/if_x25subr.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/netccitt/if_x25subr.c b/sys/netccitt/if_x25subr.c
index ad7e23c6f9a..65b6be4838d 100644
--- a/sys/netccitt/if_x25subr.c
+++ b/sys/netccitt/if_x25subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_x25subr.c,v 1.11 2002/08/08 17:07:32 provos Exp $ */
+/* $OpenBSD: if_x25subr.c,v 1.12 2002/08/08 18:26:37 todd Exp $ */
/* $NetBSD: if_x25subr.c,v 1.13 1996/05/09 22:29:25 scottr Exp $ */
/*
@@ -771,13 +771,7 @@ pk_rtattach(so, m0)
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
#define transfer_sockbuf(s, f, l) \
while ((m = (s)->sb_mb) != NULL) \
- { \
- (s)->sb_mb = m->m_nextpkt; \
- SB_EMPTY_FIXUP((s)); \
- m->m_nextpkt = 0; \
- sbfree((s), m); \
- f; \
- }
+ {(s)->sb_mb = m->m_act; m->m_act = 0; sbfree((s), m); f;}
if (rt)
rt->rt_refcnt--;