summaryrefslogtreecommitdiff
path: root/kernel/exec_domain.c
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2013-02-16 13:42:39 (GMT)
committerAntonio Quartulli <ordex@autistici.org>2013-03-27 09:29:53 (GMT)
commitcb4b0d48645fa29bc0e12537d4e3556c4bf79ac7 (patch)
treeebd1e583f63c67f5a5dff26008ab7cfc16822684 /kernel/exec_domain.c
parent3dbd550b8b2e204833d8305451bbde990e1cd743 (diff)
downloadlinux-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 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions