zephyr/include/net
Rohit Grover 627feb92d4 net: fetch valid conn. to determine MSS in data_is_sent_and_acked()
Packets sent out through net_tx_fiber go through psock_send() where
they wait for data_is_sent_and_acked() to process them.
data_is_sent_and_acked() looks at the underlying connection's
MSS (maximum segment size) before putting them on the wire through
uip_send(). The trouble is that that linkage between the outgoing
buffer and the connection hasn't been established at the point
data_is_sent_and_acked() is called--this normally happens through
a call to uip_set_conn().
So data_is_sent_and_acked() fetches an invalid connection handle
and makes its choice using an arbitrary MSS. In my particular case,
this arbitrary value was 0, and so packets weren't being sent out.

Change-Id: I42e8ae104ac20f8df8780c8aee6964ed37113ba0
Signed-off-by: Rohit Grover <rohit.grover@arm.com>
2016-10-08 21:20:28 +00:00
..
uip net: Fix net_send return value documentation 2016-09-12 02:19:57 +00:00
arp.h net: yaip: Moved ARP helper macro to arp.h 2016-07-13 14:06:23 +00:00
buf.h net: buf: Allow NULL head pointer when inserting to frag list 2016-09-30 15:07:32 +00:00
ethernet.h net: yaip: Provide separate header file for ethernet 2016-07-13 14:06:14 +00:00
ip_buf.h net: 6lowpan: Fix 6lowpan fragmentation 2016-05-19 14:18:38 +00:00
l2_buf.h net: 6lowpan: Fix 6lowpan fragmentation 2016-05-19 14:18:38 +00:00
nbuf.h net: yaip: Trivial comment fixes in header files 2016-07-13 14:06:14 +00:00
net_context.h net: fetch valid conn. to determine MSS in data_is_sent_and_acked() 2016-10-08 21:20:28 +00:00
net_core.h net/yaip: revert merge 2016-07-22 04:43:09 +00:00
net_if.h net/yaip: revert merge 2016-07-22 04:43:09 +00:00
net_ip.h net/yaip: revert merge 2016-07-22 04:43:09 +00:00
net_l2.h net/yaip: revert merge 2016-07-22 04:43:09 +00:00
net_linkaddr.h net: Add header file for generic link address 2016-07-12 07:20:40 +00:00
net_socket.h net/yaip: revert merge 2016-07-22 04:43:09 +00:00
net_stats.h net: yaip: Add statistics gathering support 2016-07-12 19:20:43 +00:00
tinydtls.h checkpatch: error - trailing_whitespace 2016-02-05 20:24:33 -05:00