Deleted Added
full compact
35c35
< __FBSDID("$FreeBSD: head/sys/dev/hatm/if_hatm_tx.c 119280 2003-08-22 06:00:27Z imp $");
---
> __FBSDID("$FreeBSD: head/sys/dev/hatm/if_hatm_tx.c 121687 2003-10-29 15:15:19Z harti $");
324,325d323
< *
< * For raw aal we process only the first cell in the mbuf chain! XXX
383a382
> /* too short */
387,390c386,390
< if (len > 52) {
< m_adj(m, -((int)(len - 52)));
< len = 52;
< }
---
>
> /*
> * Get the header and ignore except
> * payload type and CLP.
> */
393,394d392
<
< /* ignore header except payload type and CLP */
398a397,401
>
> if (len % 48 != 0) {
> m_adj(m, -((int)(len % 48)));
> len -= len % 48;
> }