mlx4_en: Consider napi_get_frags() failure.
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Sun, 5 Sep 2010 22:20:11 +0000 (22:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:48:44 +0000 (18:48 -0700)
commitebc872c7bd7155bcc7db2343155729d13bf4a2ee
treec95e65e37519c7267c4f1dea22b84aacbf1d8039
parentf6c9322c3a0cd50a6996094327347c87cd2f4bd8
mlx4_en: Consider napi_get_frags() failure.

If failed to get skb frags using napi_get_frags(),
the packet is dropped.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_rx.c