Comment 44 for bug 147639

Revision history for this message
lak (matt-kowalczyk) wrote :

I'm not sure whether people had success with the attached patch. I was able to find a file online titled, atl2-2.0.4.tar.bz2 that appears to have identical source to the attached patch and I still had troubles.

I was able to find atl2-2.0.5.tar.bz2 that FIXED the problem! here is the patch difference between atl2-2.0.4.tar.bz2 and 2.0.5, a single file, atl2_main.c was modified,

51c51
< #define ATL2_DRV_VERSION "2.0.4"
---
> #define ATL2_DRV_VERSION "2.0.5"
921c921,922
< if (txs_unused < 1 || skb->len > txbuf_unused) {
---
> if (skb->len + sizeof(tx_pkt_header_t) + 4 > txbuf_unused ||
> txs_unused < 1 ) {