bridge: Fix OOM crash in deliver_clone
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Jun 2010 04:43:07 +0000 (21:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 04:43:07 +0000 (21:43 -0700)
commitfed396a585d8e1870b326f2e8e1888a72957abb8
treeb2a291facdc6a259e1851db9a120d05bf5422795
parent7e43cd66d36e8f0900e87d9d287c9ee649cbdd07
bridge: Fix OOM crash in deliver_clone

The bridge multicast patches introduced an OOM crash in the forward
path, when deliver_clone fails to clone the skb.

Reported-by: Mark Wagner <mwagner@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_forward.c