Commit Graph

680 Commits

Author SHA1 Message Date
goldsimon
d0a25c2574 fixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was a debug-check issue only) 2012-05-08 07:40:46 +02:00
goldsimon
3eccdf65aa fixed bug #35756 header length calculation problem in ppp/vj.c - removed unused/invalid defines TCPH_OFFSET(_SET). 2012-03-27 20:43:32 +02:00
goldsimon
2b9933eb1e fixed bug #35945: SYN packet should provide the recv MSS not the send MSS 2012-03-27 20:21:22 +02:00
goldsimon
fe7bbae8a7 added posix-compatibility include files posix/netdb.h and posix/sys/socket.h which are a simple wrapper to the correct lwIP include files. 2012-03-25 15:16:03 +02:00
goldsimon
d77b354377 fixed bug #35927: missing refragmentaion in ip_forward 2012-03-25 15:15:50 +02:00
goldsimon
ca30f4b02e patch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list 2012-03-20 22:02:22 +01:00
goldsimon
21a1cf9c80 patch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big endian, possible bug on little endian system 2012-03-12 16:37:44 +01:00
goldsimon
6486c4b1d7 fixed bug #35595: Impossible to send broadcast without a gateway (introduced when fixing bug# 33551) 2012-02-23 10:12:38 +01:00
goldsimon
07af231f2b fixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP Memory Leak) 2012-02-22 22:41:53 +01:00
goldsimon
8d04da8c6e fixed bug #35531: Impossible to send multicast without a gateway (introduced when fixing bug# 33551) 2012-02-22 22:41:45 +01:00
goldsimon
6b37e7ec74 Patch by Stéphane Lesage:
fixed bug #35536 SNMP: error too big response is malformed
2012-02-22 22:41:14 +01:00
goldsimon
8c5edcf564 fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1 2012-02-22 22:40:55 +01:00
goldsimon
d4b169a6de partly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments bigger than half the window) 2012-02-12 14:19:43 +01:00
goldsimon
63dbd8faed fixed bug #35435: No pcb state check before adding it to time-wait queue while closing 2012-02-12 13:51:59 +01:00
goldsimon
4d71f7270b fixed bug #35305: pcb may be freed too early on shutdown(WR) 2012-02-12 13:51:49 +01:00
goldsimon
593f75fc3b fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time out from FIN_WAIT_2 if the RX side wasn't close (by either calling tcp_close or tcp_shutdown(RDWR)) 2012-02-12 13:51:07 +01:00
goldsimon
b163197340 - fixed bug #35151: DHCP asserts on incoming option lengths;
- fixed wrong CHANGELOG of the last commit
2012-02-12 13:49:53 +01:00
goldsimon
83b46811f9 fixed bug #35291: NULL pointer in pbuf_copy 2012-02-12 13:48:57 +01:00
goldsimon
1d96195f47 implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes bug #35061) 2012-02-12 13:48:40 +01:00
goldsimon
5546e46c60 Added option CHECKSUM_GEN_ICMP 2012-02-12 13:33:43 +01:00
Simon Goldschmidt
3306641708 bug #33634 ip_forward() have a faulty behaviour: Added pbuf flags to mark incoming packets as link-layer broadcast/multicast. Also added code to allow ip_forward() to forward non-broadcast packets to the input netif (set IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1). 2011-12-14 21:11:34 +01:00
goldsimon
56207f2505 fixed bug #31177: tcp timers can corrupt tcp_active_pcbs in some cases 2011-12-14 19:58:49 +01:00
goldsimon
c4f3b8818a fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep' 2011-12-14 19:58:25 +01:00
goldsimon
f0b0a3760c fixed bug #34684: Clear the arp table cache when netif is brought down 2011-12-14 19:58:03 +01:00
goldsimon
0b382a0d53 fixed bug #34638: Dead code in tcp_receive - pcb->dupacks 2011-12-14 19:54:20 +01:00
goldsimon
3585cc1a70 fixed bug #34429: possible memory corruption with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1 2011-12-14 19:46:57 +01:00
Simon Goldschmidt
935144b3a3 fixed bug #34592: lwip_gethostbyname_r uses nonstandard error value, removed those unused (nonstandard?) error values from arch.h 2011-12-14 19:44:38 +01:00
Simon Goldschmidt
a148e33c42 fixed default values of TCP_SNDLOWAT and TCP_SNDQUEUELOWAT for small windows (bug #34176 select after non-blocking send times out) 2011-12-14 19:43:42 +01:00
Simon Goldschmidt
d96703bba3 fixed bug #34587: TCP_BUILD_MSS_OPTION doesn't consider netif->mtu, causes slow network 2011-12-14 19:43:25 +01:00
goldsimon
9621ccb712 fixed bug #34581 missing parentheses in udplite sockets code 2011-12-14 19:42:23 +01:00
goldsimon
21f39082b7 fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS 2011-12-14 19:42:06 +01:00
Simon Goldschmidt
0da2bd7f62 fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api 2011-12-14 19:40:49 +01:00
Simon Goldschmidt
d8f090a759 fixed bug #34517 (persist timer is started although no zero window is received) by starting the persist timer when a zero window is received, not when we have more data queued for sending than fits into the window 2011-12-13 22:05:00 +01:00
Simon Goldschmidt
bd0a664446 fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define 2011-12-13 22:03:03 +01:00
Simon Goldschmidt
aafa00f3aa fixed bug #34540: compiler error when CORE_LOCKING is used and not all protocols are enabled 2011-12-13 21:49:19 +01:00
Simon Goldschmidt
dbbd161219 fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4 2011-12-12 20:12:53 +01:00
Simon Goldschmidt
56cee6b4d8 fixed bug #34426: tcp_zero_window_probe() transmits incorrect byte value when pcb->unacked != NULL 2011-12-11 19:54:43 +01:00
Simon Goldschmidt
277c7aa518 fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong 2011-12-11 19:54:09 +01:00
Simon Goldschmidt
5cfef5bf48 Tried to fix bug #32417 ("TCP_OVERSIZE seems to have problems with (fast-)retransmission"): Reset pcb->unsent_oversize in 2 more places... 2011-12-11 19:46:21 +01:00
Simon Goldschmidt
ca6fd6015c Implemented limiting data on ooseq queue (task #9989) (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h), added unit test for this new feature 2011-12-11 19:45:59 +01:00
Simon Goldschmidt
eff10f6458 fixed bug #28288: Data after FIN in oos queue 2011-12-11 19:45:29 +01:00
goldsimon
9c3a6b828f bug #34406 dhcp_option_hostname() can overflow the pbuf 2011-12-11 19:45:07 +01:00
Simon Goldschmidt
5715469d26 fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1 2011-12-11 19:44:01 +01:00
Simon Goldschmidt
140eb22cf0 fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data 2011-12-11 19:43:40 +01:00
Simon Goldschmidt
45a3f198e8 fixed bug #34355: nagle does not take snd_buf/snd_queuelen into account 2011-12-11 19:36:03 +01:00
Simon Goldschmidt
3d48abb98d Implemented timeout on send (TCP only, bug #33820) 2011-12-11 19:30:05 +01:00
Simon Goldschmidt
223307fa38 fixed default value of TCP_SND_BUF to not violate the sanity checks in init.c 2011-12-11 19:29:39 +01:00
Simon Goldschmidt
c951ab8cee Converted runtime-sanity-checks into compile-time checks that can be disabled (since runtime checks can often not be seen on embedded targets) 2011-12-11 19:28:51 +01:00
goldsimon
81a49a437a fixed bug #34337 (possible NULL pointer in sys_check_timeouts) 2011-12-11 19:28:11 +01:00
Simon Goldschmidt
5460900b14 splitted ppp.h to an internal and external header file to get a clear separation of which functions an application or port may use (task #11281) 2011-12-11 19:24:16 +01:00