From: Antonio Quartulli Date: Tue, 11 Feb 2014 16:05:07 +0000 (+0100) Subject: batman-adv: free skb on TVLV parsing success X-Git-Tag: v3.14-rc4~30^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c3c8a636aa9ee35ce13f65afc5b665615cc786;p=pandora-kernel.git batman-adv: free skb on TVLV parsing success When the TVLV parsing routine succeed the skb is left untouched thus leading to a memory leak. Fix this by consuming the skb in case of success. Introduced by ef26157747d42254453f6b3ac2bd8bd3c53339c3 ("batman-adv: tvlv - basic infrastructure") Reported-by: Russel Senior Signed-off-by: Antonio Quartulli Tested-by: Russell Senior Signed-off-by: Marek Lindner --- Reading git-diff-tree failed