On Wednesday 26 March 2014 15:46:22 Simon Wunderlich wrote:
From: Simon Wunderlich simon@open-mesh.com
When an interface is removed from batman-adv, the orig_ifinfo of a orig_node may be removed without releasing the router first. This will prevent the reference for the neighbor pointed at by the orig_ifinfo->router to be released, and this leak may result in reference leaks for the interface used by this neighbor. Fix that.
This is a regression introduced by de6bcc76ea84fecb136f8c8f5ba1862e4a13f06b ("batman-adv: split out router from orig_node").
Reported-by: Antonio Quartulli antonio@meshcoding.com Signed-off-by: Simon Wunderlich simon@open-mesh.com
Changes to PATCHv2:
- take care of the rcu sparse warning
originator.c | 5 +++++ 1 file changed, 5 insertions(+)
Applied in revision cdd09f6.
Thanks, Marek