summaryrefslogtreecommitdiff
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2014-01-28 05:06:47 +0400
committerAntonio Quartulli <antonio@meshcoding.com>2014-02-17 20:17:00 +0400
commit91c2b1a9f680ff105369d49abc7e19ca7efb33e1 (patch)
treed5449f16cab7d66c710acbfe16d036282d41adfc /fs/ubifs/ubifs.h
parente889241f45f9cecbc84a6ffed577083ab52e62ee (diff)
downloadlinux-91c2b1a9f680ff105369d49abc7e19ca7efb33e1.tar.xz
batman-adv: release vlan object after checking the CRC
There is a refcounter unbalance in the CRC checking routine invoked on OGM reception. A vlan object is retrieved (thus its refcounter is increased by one) but it is never properly released. This leads to a memleak because the vlan object will never be free'd. Fix this by releasing the vlan object after having read the CRC. Reported-by: Russell Senior <russell@personaltelco.net> Reported-by: Daniel <daniel@makrotopia.org> Reported-by: cmsv <cmsv@wirelesspt.net> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'fs/ubifs/ubifs.h')
0 files changed, 0 insertions, 0 deletions