[Olsr-dev] [PATCH] retry if SmartGW tunnel setup fails

Ferry Huberts (spam-protected)
Tue Feb 26 13:55:28 CET 2013


Daniel, and others,

I've reworked you patch and committed it to master.

commit 16370257702f212c8c1c7f7038bc0e4f3bd14304
Author: Ferry Huberts <(spam-protected)>
Date:   Tue Feb 26 13:30:58 2013 +0100

     gateway: work around kernel IPIP module initialisation bug

     First reported by Daniel.
     I've reworked his approach to retry deeper in the call chain
     in order to deal with the problem where it actually occurs.

     Reported-by: Daniel <(spam-protected)>
     Signed-off-by: Ferry Huberts <(spam-protected)>


On 20/01/13 21:59, Daniel wrote:
> When started while boot, olsrd quits when SmartGW is enabled with the message
>
> olsrd[1395]: Received netlink error code Cannot assign requested address (-126)
> olsrd[1395]: olsrd exit: Cannot initialize gateway tunnels
>
> When restart after boot, olsrd starts up and works as expected.
>
> I wrote this patch to work around this phenomenon, with this olsrd will retry
> to setup the gateway tunnels and only exit with a failure if the problem
> persists.
>
>
>

-- 
Ferry Huberts




More information about the Olsr-dev mailing list