summaryrefslogtreecommitdiffstats
path: root/sys/netatm/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatm/port.h')
-rw-r--r--sys/netatm/port.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netatm/port.h b/sys/netatm/port.h
index 83e0654..df599ad 100644
--- a/sys/netatm/port.h
+++ b/sys/netatm/port.h
@@ -178,8 +178,7 @@ typedef struct mbuf KBuffer;
}
#define KB_LINKHEAD(new, head) { \
if ((head) && KB_ISPKT(new) && KB_ISPKT(head)) {\
- M_COPY_PKTHDR((new), (head)); \
- (head)->m_flags &= ~M_PKTHDR; \
+ M_MOVE_PKTHDR((new), (head)); \
} \
(new)->m_next = (head); \
}
OpenPOWER on IntegriCloud