summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2015-09-01 14:43:58 +0200
committerFelix Fietkau <nbd@openwrt.org>2015-09-02 17:30:12 +0200
commit3224b809c359107b04c067cc00e652729030c735 (patch)
tree5d88e318682098ee26203064055648c246375d6a /interface-ip.h
parentd1c9d4bc6a6925fc3b39c1c4062c2b9082a4e161 (diff)
device: Don't call set_state for external device in device_claim
The function set_state disable is not called for external devices in device_release which means for external vlan/macvlan devices they won't be deleted. As a result of this the set_state enable call for external devices by device_claim fails as vlan/macvlan devices cannot be created since the device already exists in the kernel. Therefore move the external device check from device_set_state to device_claim so external vlan/macvlan devices are not created again and can also be external. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface-ip.h')
0 files changed, 0 insertions, 0 deletions