diff options
author | Antonio Quartulli <ordex@autistici.org> | 2013-02-16 13:42:39 (GMT) |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-03-27 09:29:53 (GMT) |
commit | cb4b0d48645fa29bc0e12537d4e3556c4bf79ac7 (patch) | |
tree | ebd1e583f63c67f5a5dff26008ab7cfc16822684 /drivers/pwm | |
parent | 3dbd550b8b2e204833d8305451bbde990e1cd743 (diff) | |
download | linux-cb4b0d48645fa29bc0e12537d4e3556c4bf79ac7.tar.xz |
batman-adv: free an hard-interface before adding it
When adding a new hard interface (e.g. wlan0) to a soft interface (e.g. bat0)
and the former is already enslaved in another virtual interface (e.g. a software
bridge) batman-adv has to free it first and then continue with the adding
mechanism.
In this way the behaviour becomes consistent with what "ip link set master"
does. At the moment batman-adv enslaves the hard interface without checking for
the master device, possibly causing strange behaviours which are never wanted by
the users.
Reported-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions