diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-26 06:57:21 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-26 06:57:21 +0000 |
commit | e8a8dce8c2a402eb62afd2cd3a9064b00805385f (patch) | |
tree | 68c83cd306d5ffeda2e576006ad6e976d0ad8c53 /sys/dev/ic | |
parent | 591209718a1fafe114c9ed9b23a5167ecc0bc980 (diff) |
Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather than
having to change it every time.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/elink3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index bdb2645d165..ad9e4727a31 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.48 2001/05/22 18:59:54 angelos Exp $ */ +/* $OpenBSD: elink3.c,v 1.49 2001/05/26 06:57:19 angelos Exp $ */ /* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */ /* @@ -1405,7 +1405,7 @@ epget(sc, totlen) sc->next_mb = (sc->next_mb + 1) % MAX_MBS; m->m_data = m->m_pktdat; m->m_flags = M_PKTHDR; - TAILQ_INIT(&m->m_pkthdr.tags); + m_tag_init(m); } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = totlen; |