lwip/src/core
Axel Lin 1f3c18fcbe tcp: Make tcp_listen_with_backlog_and_err return NULL if the address/port is already used
The caller of tcp_listen_with_backlog_and_err() usually check if the return
pcb is NULL before checking the err reason. I think the commit adding
tcp_listen_with_backlog_and_err() accidently change the behavior, Fix it.

Fixes: 98fc82fa71 ("added function tcp_listen_with_backlog_and_err() to get the error reason when listening fails")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
2017-01-01 19:53:51 +01:00
..
ipv4 Fix a few -Wconversion warnings (there are many more to do) 2016-12-20 14:22:51 +01:00
ipv6 nd6 rdnss: fixed dual-stack compilation 2016-12-31 15:51:59 +01:00
def.c Minor documentation update in def.c 2016-12-29 09:28:45 +01:00
dns.c dns: added one-shot multicast DNS queries 2016-12-09 09:20:46 +01:00
inet_chksum.c Add #include <stddef.h> to a central place (arch.h) instead of #including it in several other files throughout lwip since size_t is needed in many places 2016-11-30 07:43:59 +01:00
init.c Add a check for correct implementation of LWIP_CONST_CAST() to lwip_init() 2016-12-14 08:31:09 +01:00
ip.c Some documentation cleanups and include more comments that have been already in code into doxygen docs 2016-08-07 10:05:34 +02:00
mem.c Try to remove #include <stdlib.h> from many files. Does not seem necessary any more and might cause problems when porting lwIP. 2016-12-08 11:05:01 +01:00
memp.c Moved nd6 implementation details to new file nd6_priv.h (possible after David's cleanups) 2016-12-14 21:04:53 +01:00
netif.c ipv6: adjust MLD membership on address state changes 2016-12-20 22:28:02 +01:00
pbuf.c Fix a few -Wconversion warnings (there are many more to do) 2016-12-20 14:22:51 +01:00
raw.c raw, udp, tcp connect() does NOT need to match exact IP type - when PCB is bound to IPADDR_ANY_TYPE, it is OK to connect to IPv4 or IPv6 2016-11-16 23:39:43 +01:00
stats.c memp: fixed compiling various combinations of memp stats (display etc.) 2016-07-08 08:21:57 +02:00
sys.c Create documentation section "porting" and move it under lwIP section (instead of infrastructure) 2016-12-29 09:29:24 +01:00
tcp_in.c bug #49631: handle zero-window probe and refused_data 2016-12-16 09:37:54 -06:00
tcp_out.c Optimize passing contiguous nocopy buffers to tcp_write 2016-11-24 11:27:34 +01:00
tcp.c tcp: Make tcp_listen_with_backlog_and_err return NULL if the address/port is already used 2017-01-01 19:53:51 +01:00
timeouts.c Fix bug #49827: wrong cast to size_t on 16-bit x86 architecture 2016-12-12 10:07:00 +01:00
udp.c Fix a few -Wconversion warnings (there are many more to do) 2016-12-20 14:22:51 +01:00