commit | 1a241a57be46cda985c7c36e24d49f67de6bfb53 | [log] [tgz] |
---|---|---|
author | Marek Lindner <lindner_marek@yahoo.de> | Wed Jan 19 19:16:10 2011 +0000 |
committer | Marek Lindner <lindner_marek@yahoo.de> | Sat Mar 05 12:49:55 2011 +0100 |
tree | 51e88b4e7d17331497c4aab98f281353ab3f28d9 | |
parent | f987ed6ebd991009cd9f6190ce319e8b50d6be1f [diff] |
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: Marek Lindner <lindner_marek@yahoo.de>