mlx4_en: Handle page allocation failure during receive
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Sun, 26 Apr 2009 20:42:57 +0000 (20:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 09:31:31 +0000 (02:31 -0700)
commit785a0982eaaeae2fbe3372d1c9c769e8156a7a5a
tree61b6edc9a6eb03521df85bd8756813e4fa11f74d
parenta4233304bb43f87f97fc2ac9143b513814dcf094
mlx4_en: Handle page allocation failure during receive

If we failed to allocate new fragments for receive buffer,
the packet should be dropped and packets should be reused.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_rx.c