git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a30e22c
)
batman-adv: free skb on TVLV parsing success
author
Antonio Quartulli
<antonio@open-mesh.com>
Tue, 11 Feb 2014 16:05:07 +0000
(17:05 +0100)
committer
Antonio Quartulli
<antonio@meshcoding.com>
Mon, 17 Feb 2014 16:17:02 +0000
(17:17 +0100)
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 <russell@personaltelco.net>
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Tested-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/routing.c
patch
|
blob
|
history
diff --cc
net/batman-adv/routing.c
Simple merge