summaryrefslogtreecommitdiff
path: root/extdev.c
Commit message (Collapse)AuthorAgeFilesLines
* netifd: rework/fix device free handlingFelix Fietkau2021-09-271-2/+0
| | | | | | | | | Instead of explicitly preventing free in specific code sections using device_lock/device_unlock, defer all device free handling via uloop timeout This avoids an entire class of lurking use-after-free bugs triggered by device event processing and simplifies the code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bridge: allow adding/removing VLANs to configured member ports via hotplugFelix Fietkau2021-06-041-1/+1
| | | | | | | This is useful for a dynamic VLAN setup, where extra tags need to be created on the trunking port on demand Signed-off-by: Felix Fietkau <nbd@nbd.name>
* extdev: remove unused functionFelix Fietkau2021-05-161-7/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* extdev: add support for external device handlersArne Kappen2021-03-311-0/+1383
This allows to integrate external daemons that configure network devices with netifd. At startup, netifd generates device handler stubs from descriptions in /lib/netifd/extdev-config via the mechanism in handler.c. These are then added to the list of device handlers. Device handlers stubs act as relays forwarding calls against the device handler interface to the external daemon. Signed-off-by: Arne Kappen <arne.kappen@hhi.fraunhofer.de>