summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-10-28 15:30:34 -0700
committerRoland Dreier <rolandd@cisco.com>2005-10-28 15:30:34 -0700
commit1993d683f39f77ddb46a662d7146247877d50b8f (patch)
tree608391d9daa25e13b70cc11d6b99f800a7079050 /drivers/char
parentcb0f0910f4b41772a6771bdb4fb2d419b27bcd77 (diff)
downloadop-kernel-dev-1993d683f39f77ddb46a662d7146247877d50b8f.zip
op-kernel-dev-1993d683f39f77ddb46a662d7146247877d50b8f.tar.gz
[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/char')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud