lwip/src
Joel Cunningham 50a5d85f45 tcp: handle segmentation oversize during segment split (bug #52676)
This fixes a bug in tcp_split_unsent_seg where oversized segments were not
handled during the split, leading to pcb->unsent_oversized and
useg->oversize_left getting out of sync with the split segment

This would result in over-writing the pbuf if another call to tcp_write()
happened after the split, but before the remainder of the split was sent in
tcp_output

Now pcb->unsent_oversized is explicitly cleared (because the remainder at
the tail is never oversized) and useg->oversized_left is cleared after it is
trimmed

This also updates the test_tcp_persist_split unit test to explicitly check for
this case
2017-12-18 11:42:13 -06:00
..
api sockets.c: use udp_is_flag_set() instead of udp_flags() 2017-11-23 22:12:41 +01:00
apps mdns: silence some unused variable warnings. 2017-12-17 22:24:49 +01:00
core tcp: handle segmentation oversize during segment split (bug #52676) 2017-12-18 11:42:13 -06:00
include ip4: Fix IPH_OFFSET_BYTES macro 2017-12-17 22:15:10 +01:00
netif bridgeif: Remove redundant port_netif NULL test in bridgeif_send_to_port 2017-11-26 21:13:08 +01:00
Filelists.mk BridgeIF: Move FDB implementation into a separate file, implementation is easier to understand like this. 2017-10-18 18:27:35 +02:00
FILES update some FILES list files 2016-08-03 20:21:54 +02:00