diff options
author | David Kimdon <david.kimdon@devicescape.com> | 2005-12-26 20:27:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-12-26 20:27:10 -0500 |
commit | 79cac2a221ce18642550a13bed0f0203514923ea (patch) | |
tree | ecc66198fee701916e247c44e6bad0db387535ce /mm | |
parent | 6f4353d891b5e477528cd0b996e0263fecdf5d5f (diff) |
[BR_NETFILTER]: Fix leak if skb traverses > 1 bridge
Call nf_bridge_put() before allocating a new nf_bridge structure and
potentially overwriting the pointer to a previously allocated one.
This fixes a memory leak which can occur when the bridge topology
allows for an skb to traverse more than one bridge.
Signed-off-by: David Kimdon <david.kimdon@devicescape.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions