summaryrefslogtreecommitdiffhomepage
path: root/device.c
AgeCommit message (Collapse)Author
2013-04-15device: use safe_list for device event, fixes some hang issuesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-02-10device: protect device event broadcast against simultaneous deletions of ↵Felix Fietkau
multiple receivers in the callback (can happen with aliases) Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-09-28device.c: use format_macaddr() helper to convert mac addresses to strings, ↵Jo-Philipp Wich
ether_ntoa() does not guarantee a canonical format
2012-07-12do not recreate or restart external devices on settings changes, apply them ↵Felix Fietkau
at runtime
2012-07-12add some debug messages for device user countFelix Fietkau
2012-07-05when specifying hotplug devices that already have existing configured ↵Felix Fietkau
devices, set the external flag
2012-07-05alias: use a callback for managing device presence state, track alias deps ↵Felix Fietkau
in a separate list to avoid recursion issues
2012-07-05split alias support into a separate source file for better readabilityFelix Fietkau
2012-07-05fix ifname for alias+vlan chainsFelix Fietkau
2012-07-05device: initialize dev->set_state for virtual devicesFelix Fietkau
2012-07-05device: export device_broadcast_eventFelix Fietkau
2012-06-14ignore mac80211 devices specified in /etc/config/networkFelix Fietkau
2012-06-07device: make device_set_disabled inline, add device_set_deferredFelix Fietkau
2012-06-04device: show a bit more info if the device is not presentFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-03-23move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau
address/route removal on device or interface state changes
2012-03-19move device cleanup to common code, fixes use-after-free in tunnel codeFelix Fietkau
2012-03-19fix a memory leakFelix Fietkau
2012-03-04device: differentiate between DEV_CONFIG_APPLIED (no device up/down), and ↵Felix Fietkau
DEV_CONFIG_RESTART (device restart)
2012-03-03do not bring down hotplug devicesFelix Fietkau
2012-03-03preserve interface main hotplug device on reloadFelix Fietkau
2012-02-28fix mac address parsingFelix Fietkau
2012-01-23always call device_set_disabled, even if the "enabled" attribute is not presentFelix Fietkau
2012-01-22show mtu, macaddr and txqueuelen from cached device settingsFelix Fietkau
2012-01-22move device settings to a separate structFelix Fietkau
2012-01-19export carrier status in device statsFelix Fietkau
2012-01-19allow devices to be disabled through a config optionFelix Fietkau
2011-12-04fix use-after-free on device free codepath due to recursion issues, and fix ↵Felix Fietkau
dev->parent refcounting issues
2011-10-26recognize stacked interfaces (e.g. dsa) and handle their dependenciesFelix Fietkau
2011-10-20do not clear device state for devices created by proto-up with ↵Felix Fietkau
address-external set
2011-10-19fix device_lockFelix Fietkau
2011-10-19rework device hotplug handling some more, add device_lock/device_unlock to ↵Felix Fietkau
prevent use-after-free bugs
2011-10-19rework and fix hotplug interface handlingFelix Fietkau
2011-10-19apply device settings to simple devices with config specified from the ↵Felix Fietkau
interface section (legacy format compatibility), but only if no other config was provided
2011-10-18add support for alias devices, which are activated based on hotplug events ↵Felix Fietkau
containing the real device name
2011-10-18directly pass the device name to the device create functionFelix Fietkau
2011-10-11implement a new ubus object "network.device", add a method for dumping ↵Felix Fietkau
detailed device information
2011-10-09fix clearing device state, trigger it on device_init()Felix Fietkau
2011-10-06only free unused devices after the final config initFelix Fietkau
2011-10-06only show the "Create new device.." message if there is no old deviceFelix Fietkau
2011-10-06device reload, use config_check_equal instead of config_check_diffFelix Fietkau
2011-10-06fix parsing settings for devices on reloadFelix Fietkau
2011-10-06fix refcount bugs when dev->set_state failsFelix Fietkau
2011-10-06always recreate devices by default if the config attribute list is not the ↵Felix Fietkau
default one
2011-10-06fix a double free / use after freeFelix Fietkau
2011-10-06prevent deletion devices that are part of the current configurationFelix Fietkau
2011-10-06recreate devices if the type does not matchFelix Fietkau
2011-10-06delete devices before recreating themFelix Fietkau
2011-10-06add debug messages for device config changesFelix Fietkau
2011-10-05rename a variable for clarityFelix Fietkau