Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-17 | netifd: Keep reference to a config copy in device type specific reload ↵ | Hans Dedecker | |
handler as the original config pointer might go stale Fixes random observed crashes in blobmsg_parse when device type specific config data is parsed. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2015-01-23 | bridge: fix retrying member enable when the bridge is otherwise empty | Felix Fietkau | |
Ensure that the bridge gets created before retrying Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2015-01-23 | bridge: mark tested members as present during enable retry | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2015-01-23 | bridge: release failed member devices | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-11-23 | bridge: retry adding members after config reload / device start | Felix Fietkau | |
The kernel will refuse to add a vlan device to a bridge when the base device of that vlan is already a member. This can happen on config reload. Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-07-17 | bridge: enable IGMP snooping by default | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-09 | netifd: Fix node version set after free | Hans Dedecker | |
Fixes an issue where a bridge member will be removed from the bridge upon an interface ifup as the bridge node version -1 is overwritten by vlist_add while the new created bridge member pointer is freed in bridge_member_update Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
2014-04-26 | netifd: Add interface config support to enable/disable IPv6 in the kernel ↵ | Hans Dedecker | |
per device Main use case is being able to disable IPv6 on (a) WAN interface(s) when only IPv4 connectivity is offered or 6rd is used. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> | |||
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-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-03-07 | netifd: fix bridge reloading issue | Emanuel Taube | |
Check in the right order to decide if the bridge have to be set up. Additionally we are consistent with setting it down. Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com> | |||
2013-11-29 | netifd: Fix possible segfault in bridge code | Helmut 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-10-29 | bridge: fix stray semicolon, fixes a bug in bridge primary port reset | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-08-29 | bridge: fix corner case with network reload | Luka Perkov | |
After removing all ifname options from bridge interface and executing network reload the configuration was not applied properly on the system. With this change that is no longer a issue. Signed-off-by: Luka Perkov <luka@openwrt.org> | |||
2013-07-13 | bridge: add bridge_empty option which allows creation of empty bridges | Luka Perkov | |
Signed-off-by: Luka Perkov <luka@openwrt.org> | |||
2013-06-10 | config: use the new uci_blob library code | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2013-04-27 | bridge: disable multicast snooping by default | Jo-Philipp Wich | |
2013-04-23 | set default bridge priority to 0x7FFF | Jo-Philipp Wich | |
2013-04-23 | add bridge priority option | Niels Boehm | |
[netifd] add bridge priority option Using the bridge priority (lower numbers are higher in the hierarchy), one can ensure that the router is chosen as root bridge in a setup with spanning tree protocol. For instance, one can set the priority of network lan to 32767, causing the router to win over all directly and indirectly connected nodes that have a default priority of 32768. The reason for doing that is that otherwise it has a default priority 32768 as well and any other connected node could win and get root bridge. In a home setup, those nodes are often desktop or laptop boxes and get switched off from time to time. As a consequence, root bridges vanish or new root bridges get chosen relatively often, resulting in frequent topology changes to the STP network. While the new topology has not settled, packets can get lost, causing noticeable interruptions of network traffic. Setting the router's bridge on a lower numbered priority (and thus higher in the selection hierarchy) solves the problem in the vast majority of the cases by ensuring that the device that is most likely powered on 24/7 gets chosen as root and prevents topology changes. Signed-off-by: Niels Boehm <blubberdiblub@gmail.com> | |||
2012-10-19 | bridge: toggle device present state after freeing a bridge member to ensure ↵ | Felix Fietkau | |
that it can be reassigned to a different bridge | |||
2012-06-27 | bridge: fix getting the mac address from the first member device | Felix Fietkau | |
2012-05-24 | bridge: keep existing mac address if specified in the config | Felix Fietkau | |
2012-05-23 | bridge: set the mac address based on the first active member | Felix Fietkau | |
2012-05-04 | add copyright headers | Felix Fietkau | |
2012-03-19 | move device cleanup to common code, fixes use-after-free in tunnel code | Felix Fietkau | |
2012-03-05 | bridge: turn stp off by default | Felix Fietkau | |
2012-03-05 | bridge: increase the default forward delay to 2 seconds (minimum enforced by ↵ | Felix Fietkau | |
the kernel) | |||
2012-03-05 | bridge: fix removal of present bridge members | Felix Fietkau | |
2012-03-05 | bridge: implement config reload support, preserves hotplug interfaces and ↵ | Felix Fietkau | |
adds fast updates for adding/removing bridge members | |||
2012-03-05 | bridge: add a debug message when a device could not be added | Felix Fietkau | |
2012-03-04 | bridge: fix hotplug device removal | Felix Fietkau | |
2012-03-04 | bridge: fix member list handling | Felix Fietkau | |
2012-03-04 | remove redundant variable assignment | Felix Fietkau | |
2012-03-04 | bridge: use vlist instead of list | Felix Fietkau | |
2012-01-19 | export carrier status in device stats | Felix Fietkau | |
2011-11-04 | add a hotplug op for preparing an interface bridge so that it's ready when ↵ | Felix Fietkau | |
an external process adds interfaces | |||
2011-11-04 | bridge: fix cleanup path, avoid double free on hotplug device remove | Felix Fietkau | |
2011-10-23 | fix handling bridge interfaces with no initial device | Felix Fietkau | |
2011-10-21 | fix initial bridge member bringup | Felix Fietkau | |
2011-10-21 | fix duplicate bridge addif | Felix Fietkau | |
2011-10-19 | rework device hotplug handling some more, add device_lock/device_unlock to ↵ | Felix Fietkau | |
prevent use-after-free bugs | |||
2011-10-19 | set the igmp snooping option for bridges | Felix Fietkau | |
2011-10-18 | directly pass the device name to the device create function | Felix Fietkau | |
2011-10-11 | implement a new ubus object "network.device", add a method for dumping ↵ | Felix Fietkau | |
detailed device information | |||
2011-10-09 | add more options for bridges, enable stp by default and set forwarding delay ↵ | Felix Fietkau | |
to 1 | |||
2011-10-05 | rename a variable for clarity | Felix Fietkau | |
2011-10-03 | bridge: add missing device cleanup | Felix Fietkau | |
2011-09-04 | make device_claim/device_release operate on the device_user instead of the ↵ | Felix Fietkau | |
device to avoid refcount bugs | |||
2011-09-04 | do not reverse bridge member devices order | Felix Fietkau | |
2011-09-04 | make bridge configuration more dynamic | Felix Fietkau | |