Commit 1993d683 authored by Roland Dreier's avatar Roland Dreier
Browse files

[IPoIB] Drop RX packets when out of memory



Change the way IPoIB handles RX packets when it can't allocate a new
receive skbuff.  If the allocation of a new receive skb fails, we now
drop the packet we just received and repost the original receive skb.
This means that the receive ring always stays full and we don't have
to monkey around with trying to schedule a refill task for later.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent cb0f0910
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment