On Tue, 2015-03-03 at 23:01 +0200, [email protected] wrote:
> From: Pasi Sjöholm <[email protected]>
> 
> Patch1: If timers are reset during __connman_resolver_redo_servers() 
> they will not have their timers set again at
> connman_resolver_append_lifetime() because each entry without a
> timer is a not RA initialized nameserver/domain search list.
>     
> Resetting the timers also causes the entry_list to grow by one or
> more entries when the next RA with RDNSS/DNSSL is received as
> connman_resolver_append_lifetime() will add the entries as new
> because no matches will be found during the check.
> 
> Eventually this would eat all the available memory. ;)
> 
> Patch2: This patch is pre-requirement for the Patch3.
> __connman_ipconfig_newaddr() needs to return success / fail for
> rtln.c:process_newaddr() so that we know if it's necessary
> to run __connman_resolver_redo_servers()
> 
> Patch3: Every RA causes process_newaddr() to be called with 
> autoconfigured addresses and therefore removing/re-appending the 
> dnsproxy servers is bit too radical thing to do if the address is 
> already known/configured.

Applied, thanks!

Slight modification to patch 3/3, made the check >= 0 instead of == 0.
This because errors are < 0.

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to