diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-28 22:30:34 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-28 22:30:34 (GMT) |
commit | 1993d683f39f77ddb46a662d7146247877d50b8f (patch) | |
tree | 608391d9daa25e13b70cc11d6b99f800a7079050 /drivers/usb/input/powermate.c | |
parent | cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 (diff) | |
download | linux-fsl-qoriq-1993d683f39f77ddb46a662d7146247877d50b8f.tar.xz |
[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>
Diffstat (limited to 'drivers/usb/input/powermate.c')
0 files changed, 0 insertions, 0 deletions