bridge: netfilter: fix a memory leak
authorChangli Gao <xiaosuo@gmail.com>
Sun, 22 Aug 2010 19:03:26 +0000 (19:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:14:36 +0000 (20:14 -0700)
commit4c3a76abd379d9a4668b2d417baa991de9757dc2
tree2b0501957c032c6acbf7dcacc23c0702dacaeca8
parentcca77b7c81876d819a5806f408b3c29b5b61a815
bridge: netfilter: fix a memory leak

nf_bridge_alloc() always reset the skb->nf_bridge, so we should always
put the old one.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c