Joe Perches <[EMAIL PROTECTED]> :
[...]
> Shouldn't this be:
> 
>       if (pkt_len < rx_copybreak) {
>               skb = dev_alloc_skb(pkt_len + 2);
>               if (!skb) {
>                       bad_news! (like the refill rx ring buffers block)
>               }

It is not that bad a news: the rx_copybreak optimization is lost but it
is still possible to push the data up the stack.

-- 
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to