Skip to content
Snippets Groups Projects
Commit 1a241a57 authored by Marek Lindner's avatar Marek Lindner
Browse files

batman-adv: free neighbors when an interface is deactivated


hardif_disable_interface() calls purge_orig_ref() to immediately free
all neighbors associated with the interface that is going down.
purge_orig_neighbors() checked if the interface status is IF_INACTIVE
which is set to IF_NOT_IN_USE shortly before calling purge_orig_ref().

Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
parent f987ed6e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment