summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2014-02-14netifd : Disable netlink auto ackHans Dedecker
Disable netlink auto ack when doing a delete in the get callback handler to avoid race conditions resulting into stalled message on the netlink socket. Solves issue reported in https://dev.openwrt.org/ticket/14590 Signed-off-by: Karl Vogel <karl.vogel@gmail.com> Acked-by: Hans Dedecker <dedeckeh@gmail.com>
2014-01-20Don't add unnecessary NOP policy rulesSteven Barth
2014-01-17Remove automatically assigned IPv6 routing tableSteven 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-17Add indicator-flags to ubus and hotplug update-eventsSteven Barth
2013-12-29wireless: fix alignment of wireless config structs - fixes segfaults on armFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-28wireless: cancel the script check timerFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-16device: prevent callbacks to device users that have been cleaned up alreadyFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-14Revert "netifd: Link layer state support on device level"Felix Fietkau
This reverts commit c439b52400978dd3799c66e1f632ee68d2c7c9eb.
2013-12-14Revert "netifd: Link layer state support on interface level"Felix Fietkau
This reverts commit 7335c3e19ea09674245dda3653d3f40705e68d6b.
2013-12-12Set dynamic interface flag after adding them so the version is preservedSteven Barth
2013-12-11wireless: remove the no_delete flag, remove virtual interfaces from the avl treeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-11wireless: fix handling of wdev->config_state, prevent handling of multiple ↵Felix Fietkau
state changes (reload + remove) Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-11wireless: remove freed wireless devices from the vlist avl treeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-11IPv6: Remove IPv6 source-routing workaround (kernel is fixed)Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-12-08wireless: add back support for multiple networks per interfaceFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-08netifd: Link layer state support on interface levelHans 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-08netifd: Link layer state support on device levelHans Dedecker
Patch implements link layer state awareness (aka carrier detection) in netifd on device level. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Code style line/clean upHans Dedecker
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08Tunnel don't fragment bit configurableHans Dedecker
Make tunnel don't fragment bit configurable via UCI Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Apply tunnel MTUHans Dedecker
Tunnel MTU is applied according to the tunnel MTU UCI parameter Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Don't export default route via UBUS when disabledHans Dedecker
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Export ip4table/ip6table via UBUSHans Dedecker
Export ip4table/ip6table parameters via UBUS to facilitate route inspection and usage by other applications Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-08netifd: Routing table parameter needs to be checked in route updateHans Dedecker
Routing table parameter needs to be checked in interface_update_proto_route; a route which has an identical nexthop but a different routing table needs to be deleted and added in the correct routing table. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2013-12-03wireless: make interfaces in status an array instead of an objectFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-03wireless: prepare bridge interfaces before passing them to the setup scriptFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-03wireless: add an example driver cleanup implementationFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: fix getting the network_bridge variableFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: only process setup retries in setup/up stateFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: fix htmode handlingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-02wireless: call an initial cleanup functionFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix reload of active interfacesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix issues with cancelling device setupFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: add another debug messageFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix process handling if the pid exe is a symlinkFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix parsing of the immediate flag for kill-allFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: add input validation for processesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01netifd: fix process stdin/stdout/stderr when the pipe fds overlap with ↵Felix Fietkau
standard fds Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: fix config state handlingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-12-01wireless: add debug messagesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: add some device/vif error debug messagesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: fix channel checkFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: fix use-after-free bugFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: show the virtual interface section name in wireless statusFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-30wireless: show the ifname in wireless statusFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-29wireless: add support for global up/down commandFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-29netifd: Fix possible segfault in bridge codeHelmut Schaa
Need to check calloc result. In case of failure the bridge member will be missing. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
2013-11-29add initial support for handling wireless devices via scriptsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-29utils.sh: add N (newline)Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-11-27IPv6: add class support to regular IPv6 addressesSteven Barth
2013-10-31proto-shell: fix legacy proto_config_add_* functions, make them wrap around ↵Felix Fietkau
config_add_* Signed-off-by: Felix Fietkau <nbd@openwrt.org>