It also has another error.
>
> if (skb->data < MAX_DMA_ADDRESS) ...
Nope
(skb->data+skb->len)
and you ought to check it doesnt span a page. The 85230 driver has the
right bits in for that now. I've never seen a frame spanning a 64K boundary
on x86, and the mm may actually mean it cant occur.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/