CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2008/12/21 11:19:58

Modified files:
        sys/dev/pci    : if_ipw.c if_iwi.c if_wpi.c if_iwn.c 
        sys/dev/ic     : rt2560.c rt2661.c rt2860.c 

Log message:
Undo m_defrag().

m_defrag() does not work.  It seems to assume that if the length of
the mbuf passed as parameter is less than MHLEN, then it is an mbuf
header and not a cluster (or something like that.)
It thus fails miserably in the bcopy path.
I don't have the time to investigate further into this.

Thanks to Okan Demirmen for reporting the issue on a ral(4) RT2560.
The RT2560 chipset does not support TX scatter and thus m_defrag()
was called much more often than in other drivers using m_defrag()
where it was less noticeable.

Reply via email to