commit | 1993d683f39f77ddb46a662d7146247877d50b8f | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Fri Oct 28 15:30:34 2005 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Oct 28 15:30:34 2005 -0700 |
tree | 608391d9daa25e13b70cc11d6b99f800a7079050 | |
parent | cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 [diff] |
[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: Roland Dreier <rolandd@cisco.com>