diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2003-07-22 08:20:09 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2003-07-22 08:20:09 +0000 |
| commit | 2d758d909a9382932edbaf47e9bce35280d3fe4a (patch) | |
| tree | 88d3ebbee7f197e39b4f6f82ca7941dd89365a4b /sys/dev/patm | |
| parent | 22907f2d294db6877fce65b9182809d4d8910592 (diff) | |
Notes
Diffstat (limited to 'sys/dev/patm')
| -rw-r--r-- | sys/dev/patm/if_patm_tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/patm/if_patm_tx.c b/sys/dev/patm/if_patm_tx.c index 0d460182233a..190ceb5f45c6 100644 --- a/sys/dev/patm/if_patm_tx.c +++ b/sys/dev/patm/if_patm_tx.c @@ -421,6 +421,7 @@ patm_tx_pad(struct patm_softc *sc, struct mbuf *m0) return (m0); } pad = 48 - plen % 48; + m0->m_pkthdr.len += pad; if (M_WRITABLE(last)) { if (M_TRAILINGSPACE(last) >= pad) { bzero(last->m_data + last->m_len, pad); |
