[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.
- Re: [PATCH 1/4] lwip: Fix bug: Remove unsupported flags when calling send()., (continued)
- Re: [PATCH 1/4] lwip: Fix bug: Remove unsupported flags when calling send()., Samuel Thibault, 2019/05/02
- Re: [PATCH 1/4] lwip: Fix bug: Remove unsupported flags when calling send()., Joan Lledó, 2019/05/03
- Re: [PATCH 1/4] lwip: Fix bug: Remove unsupported flags when calling send()., Samuel Thibault, 2019/05/03
- [PATCH 2/2] lwip: Fix bug: Clear MSG_NOSIGNAL flag when calling send()., Joan Lledó, 2019/05/04
- [PATCH 2/2] lwip: Fix bug: Clear MSG_NOSIGNAL flag when calling send()., Joan Lledó, 2019/05/04
- Re: [PATCH 2/2] lwip: Fix bug: Clear MSG_NOSIGNAL flag when calling send()., Samuel Thibault, 2019/05/04
[PATCH 3/4] lwip: Error handling when calling update_if(), Joan Lledó, 2019/05/02
- Re: [PATCH 3/4] lwip: Error handling when calling update_if(), Samuel Thibault, 2019/05/02
- Re: [PATCH 3/4] lwip: Error handling when calling update_if(), Samuel Thibault, 2019/05/11
- Re: [PATCH 3/4] lwip: Error handling when calling update_if(), Joan Lledó, 2019/05/11
- Re: [PATCH 3/4] lwip: Error handling when calling update_if(), Samuel Thibault, 2019/05/11
- Re: [PATCH 3/4] lwip: Error handling when calling update_if(), Joan Lledó, 2019/05/11
- [PATCH] lwip: Fix bug: Error handling on configure_device(), Joan Lledó, 2019/05/11
- Re: [PATCH] lwip: Fix bug: Error handling on configure_device(), Samuel Thibault, 2019/05/11