bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] lwip: Error handling when calling update_if()


From: Joan Lledó
Subject: Re: [PATCH 3/4] lwip: Error handling when calling update_if()
Date: Sat, 11 May 2019 10:30:38 +0200

Hi,

For this case, the callback update_if() doesn't set any error, so there's no 
need to propagate it.

On the other hand, tcpip_callback() doesn't return an errno, it returns an 
internal lwip error code. The only error possible in this call is ERR_MEM, when 
the system runs out of memory. This operation is the result of calling ioctl() 
from the user side, and I don't know what errno return to glibc in this case. I 
chose EAGAIN but I don't know whether is the correct option. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]