ramips: Don't trigger BUG_ON due to skb allocation failure
authorGabor Juhos <juhosg@openwrt.org>
Wed, 24 Nov 2010 10:01:12 +0000 (10:01 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 24 Nov 2010 10:01:12 +0000 (10:01 +0000)
commita56c12c90c286735d336239e222730752ab6bae0
treeffff59aa1914848deb2c76f7edda7b06c5a7af01
parentdfe958d128f4e1da91c35df5b721f5be50837d48
ramips: Don't trigger BUG_ON due to skb allocation failure

Instead just drop the rx'ed frame silently and reuse the already
available buffer.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24122
target/linux/ramips/files/drivers/net/ramips.c