Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-21 | Fix a spurious segfault when tearing down interfaces | Steven Barth | |
Signed-off-by: Steven Barth <steven@midlink.org> | |||
2014-05-09 | netifd: Check interface state only when main device is set during ↵ | Hans Dedecker | |
interface_change_config Fixes a regression issue introduced by commit d2a33f3f0fe704e4396fa2ada08401cb955ba7cb for device less protocol handlers. An active interface using a deviceless protocol handler will be be teared down when the interface config is checked upon an update as the interface link and enabled parameters are unset as no underlying device is present (eg tunnel interfaces) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2014-05-02 | interface: clear iface->available before changing main_dev | Felix Fietkau | |
Fixes bogus interface restart loop on interface_remove_link Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-02 | interface: use interface_set_main_dev() from interface_remove_link | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-02 | interface: do not set l3_dev along with main_dev anymore | Felix Fietkau | |
Made unnecessary by recent fixes to l3_dev handling Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-04-19 | interface: ensure that l3_dev gets set whenever the proto handler marks the ↵ | Felix Fietkau | |
interface as up Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-04-11 | interface: add support for a parameter to force setup without a carrier on ↵ | Felix Fietkau | |
the underlying device Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-04-05 | interface: always delete l3 dev on proto down | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-03-21 | netifd: Reload proto on topology change | Helmut Schaa | |
Introduce a new device event "topology change" that gets signaled by bridges on adding/removing members. On "topology changes" the proto handlers are requested to "renew" which is most useful for DHCP. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> | |||
2014-03-20 | netifd: Check interface autostart parameter when handling interface state ↵ | Hans Dedecker | |
changes Fixes an issue when 2 interfaces make use of the same ifname (device) and one of the interfaces has autostart disabled; bringing up the other interface would also start the interface for which autostart is disabled (link_state and enabled will both be true for the autostart disabled interface and thus a setup will be launched) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2014-03-11 | netifd: Set interface state in teardown state before launching an interface ↵ | Hans Dedecker | |
event Interface state needs to be set in teardown state before launching an interface event otherwise the up state will be reported as true in the ubus interface notify message Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2014-03-11 | netifd: Fix bridge MTU setting when a bridge member is added | Hans Dedecker | |
Reapply bridge mtu setting as adding a bridge member will override the bridge mtu in the kernel Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2014-02-27 | netifd: Link layer state awareness support on interface level | Hans Dedecker | |
The link layer state is monitored for a given interface; an interface will be setup when both enabled and link layer active. Likewise an interface will be teared down when either disabled or link layer down. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2014-01-17 | Remove automatically assigned IPv6 routing table | Steven Barth | |
This puts IPv6 routes back into the main table where they are expected. Instead the newly-fixed source-address restrictions should be used. | |||
2014-01-17 | Add indicator-flags to ubus and hotplug update-events | Steven Barth | |
2013-12-14 | Revert "netifd: Link layer state support on interface level" | Felix Fietkau | |
This reverts commit 7335c3e19ea09674245dda3653d3f40705e68d6b. | |||
2013-12-08 | netifd: Link layer state support on interface level | Hans Dedecker | |
Patch implements handling of link layer support on interface level. An interface will go into the setup state when it's enabled and the underlying link state is enabled. Vice versa an interface will go to the down state when it's either disabled or underlying link state is disabled. Testing has been done with PPP, IPoE, tunnel and static interfaces Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2013-12-08 | netifd: Code style line/clean up | Hans Dedecker | |
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2013-10-22 | add helper function for adding/removing devices to interfaces | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-10-19 | interface: rework code to get rid of arbitrary IFNAMSIZ limitation for ↵ | Felix Fietkau | |
interface names Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-10-19 | interface: remove "dynamic" argument for interface_init, add the ↵ | Felix Fietkau | |
interface_set_dynamic function instead Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-10-18 | Add option "delegate" to toggle prefix delegation | Steven Barth | |
2013-10-17 | key to data elements point at wrong memory area | Steven Barth | |
2013-10-17 | Add protocol update notifications and hotplug legacy calls | Steven Barth | |
2013-10-17 | Add ubus function to create nested interfaces | Steven Barth | |
2013-06-18 | interface: fix NULL pointer defref in interface_set_main_dev | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-06-10 | config: use the new uci_blob library code | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-06-10 | Change IP reloading order | Steven Barth | |
2013-06-10 | Reuse automatic ip6table value | Steven Barth | |
2013-05-30 | Add missing update-triggers for source-based routing | Steven Barth | |
2013-05-30 | IPv6: reorganize prefix assignment | Steven Barth | |
* put parameters in a more suitable place * add support for prefix classes | |||
2013-05-28 | IPv6: fix wrap-arounds in address lifetimes | Steven Barth | |
2013-05-17 | Add option to define target routing table for protocol routes. | Steven Barth | |
This unifies source-routing for both IPv6 and IPv4 (default off). Based on a patch by Kristian Evensen | |||
2013-04-25 | interface: fix removing main_dev on config reload changes if ifname is reset ↵ | Felix Fietkau | |
to NULL Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-04-25 | interface: rework reload, ensure that all changes are applied before ↵ | Felix Fietkau | |
restarting the interface Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-04-03 | Rewrite IPv6 prefix assignment | Steven Barth | |
2013-01-29 | fix cleaning up interface state for reload | Felix Fietkau | |
Do not clean up config related state or interface dependencies Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-01-16 | alias: use layer 3 device instead of main device | Steven Barth | |
2012-12-31 | use calloc_a for interface error allocations | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-12-31 | interface: do not clear errors after an interface is marked as down, the ↵ | Felix Fietkau | |
user might like to read them Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-12-17 | duplicate error subsystem and code for interface errors to prevent accessing ↵ | Felix Fietkau | |
stale data Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-12-13 | rewrite resolv.conf after any interface state change (not just up) | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2012-09-06 | do not prematurely release the main dev on link loss, should fix DHCP NAK ↵ | Felix Fietkau | |
handling | |||
2012-07-12 | add simple device config params to interface blob attributes, and add a flag ↵ | Felix Fietkau | |
that indicates if it is present | |||
2012-07-05 | make alias devices attach to interface l2 devs | Felix Fietkau | |
2012-06-04 | interface: clean up after hotplug interfaces are removed | Felix Fietkau | |
2012-05-23 | add interface alias support | Felix Fietkau | |
2012-05-23 | reset iface->config_state when handling it | Felix Fietkau | |
2012-05-20 | fix argument order on replacing dns lists | Felix Fietkau | |
2012-05-20 | do not replace proto_ip dns servers on config reload | Felix Fietkau | |