Staging: batman-adv: Fix skbuff leak in VIS code.
authorAndrew Lunn <andrew@lunn.ch>
Fri, 19 Feb 2010 15:18:09 +0000 (16:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:43:03 +0000 (16:43 -0800)
commit8d03847c090b12694fb9fa81dbefa7b3e4f10f1d
tree1229d196df517d43eebe75c99fb4fdf5a57ebd40
parent837b8248f6206a6b08b3d6defe2946282e432679
Staging: batman-adv: Fix skbuff leak in VIS code.

The vis code takes a copy of the data inside the skbuf if it is interesting
for us, so we always need to release the skbuf.

Reported-by: Linus Luessing <linus.luessing@web.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/routing.c