see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a394eef562d781f37a50d99cf1dfe596dc1ed96d
The kernel is applying the RA managed/otherconf flags silently and
forgets to send ifinfo notify to inform about their change when the
router provides a zero reachable_time and retrans_timer as dnsmasq
and many routers send it, which just means unspecified by this router
and the host should continue using whatever value it is already using.
Userspace may monitor the ifinfo notifications to activate dhcpv6.
Signed-off-by: Marius Tomaschewski <mt@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a394eef562d781f37a50d99cf1dfe596dc1ed96d
The kernel is applying the RA managed/otherconf flags silently and
forgets to send ifinfo notify to inform about their change when the
router provides a zero reachable_time and retrans_timer as dnsmasq
and many routers send it, which just means unspecified by this router
and the host should continue using whatever value it is already using.
Userspace may monitor the ifinfo notifications to activate dhcpv6.
Signed-off-by: Marius Tomaschewski <mt@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Rule insertion may fail on systems where libc doesn't provided zeroed
memory via malloc (which is legal).
IOW, this was never guaranteed to work correctly.
Add a xzalloc wrapper to do error checking and zeroing and then
use it in libebtc.
Reported-and-tested-by: Senthil Kumar Balasubramanian <senthilb@qubercomm.com>
Diagnosed-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
- fix from upstream: https://git.netfilter.org/ebtables/commit/?id=3af72f100ad783b0204ce519de26a639f920b558
- rc: misc.c: check_wanup(): add checking for content of WAN state file; fix fopen/fclose; sprintf -> snprintf
- others: watchdog: fix hanging at nslookup in some cases
- www: basic-network.asp: add possibility to disable watchdog for given WAN if needed
Note: start radio join only once at function wlconf(); this fix effects (mainly) wet and psta
tested with wet, sta and psta - working correct now
fix for / NOK Example:
root@Tomato-Router:/tmp/home/root# service wl restart (5x times; Router in wet or psta mode)
...
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
2069 1 root S 1632 0.6 1 0.1 blink eth2 5g 10 8192
1098 1 root S 3632 1.4 0 0.0 httpd
1 0 root S 1636 0.6 0 0.0 /sbin/preinit
1880 1 root S 1628 0.6 0 0.0 radio join 0
2015 1 root S 1628 0.6 1 0.0 radio join 0
2070 1 root S 1628 0.6 0 0.0 radio join 0
1950 1 root S 1628 0.6 1 0.0 radio join 0
1780 1 root S 1628 0.6 1 0.0 radio join 0
2076 1 root S 1628 0.6 0 0.0 radio join
...