]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: account for skb allocation failures
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 13 Jul 2011 05:09:18 +0000 (22:09 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 23:36:06 +0000 (15:36 -0800)
commit4fa8f15f192318f09801e3c5f4abee11de0aa295
treed2d8c76ddd5a912228bec035f48963973416bca9
parent1b790823c3f1c40ff60723643ff936028b685282
be2net: account for skb allocation failures

If we cannot allocate new skbs in RX completion handler, we should
increase netdevice rx_dropped counter, not spam console messages.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_ethtool.c
drivers/net/benet/be_main.c