bridge: Fix skb leak when multicast parsing fails on TX
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Jul 2010 01:12:31 +0000 (01:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 06:36:57 +0000 (23:36 -0700)
commit6d1d1d398cb7db7a12c5d652d50f85355345234f
tree9075ad9f7889079f91b430e7cc404a7d9cee696a
parenta3bdb549e30e7a263f7a589747c40e9c50110315
bridge: Fix skb leak when multicast parsing fails on TX

On the bridge TX path we're leaking an skb when br_multicast_rcv
returns an error.

Reported-by: David Lamparter <equinox@diac24.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c