Gregory Nutt
|
cf5cba953d
|
There was a possible recursion that could eventually overflow the stack. The error occurred when closing the socket with inet_close() while a socket callback was still queued. When the socket callback was executed by devif_conn_event(), this resulted in a call to psock_send_eventhandler() with TCP_CLOSE flag set which then called tcp_lost_connection(). tcp_shutdown_monitor() then called tcp_callback() again, which again called psock_send_eventhandler(), and so on.... Noted by Pascal Speck. Solution is also similar to a solution proposed by Pascal Speck.
|
2017-10-19 11:55:51 -06:00 |
|
Gregory Nutt
|
88a87f8e3f
|
6LoWPAN: The original, Contiki-based design used only a single buffer for reassemblying larger packets. This could be a problem issue for hub configurations which really need the capability concurrently reassemble multiple incoming streams concurrently. These was also a design issue in that the reassembly buffer could be corrupted by outgoing packets. The design was extended to support multiple reassembly buffers, each associated with the reassembly tag and source address. This assures that there can be be no corruption of the reassembly once it has started.
|
2017-08-26 10:00:47 -06:00 |
|
Gregory Nutt
|
bea75baaab
|
IP forwarding: Two bugfixes (1) IPFWD poll event must be unique and different from other device poll events otherwise, some other waiting task might get the poll, (2) Add logic necessary to forward 6LoWPAN packets.
|
2017-07-08 09:56:08 -06:00 |
|
Gregory Nutt
|
d5207efb5a
|
Be consistent... Use Name: consistent in function headers vs Function:
|
2017-04-21 16:33:14 -06:00 |
|
Gregory Nutt
|
7467329a98
|
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
|
2016-12-03 16:28:19 -06:00 |
|
Gregory Nutt
|
2a751068e6
|
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
|
2016-06-20 12:44:38 -06:00 |
|
Gregory Nutt
|
43eb04bb8f
|
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
|
2016-06-20 11:59:15 -06:00 |
|
Gregory Nutt
|
f4fcdcdb4d
|
net/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
2016-06-11 17:37:21 -06:00 |
|
Gregory Nutt
|
e99301d7c2
|
Rename *lldbg to *llerr
|
2016-06-11 14:55:27 -06:00 |
|
Gregory Nutt
|
1cdc746726
|
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
2016-06-11 14:14:08 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Gregory Nutt
|
af086c40ff
|
Remove dangling whitespace
|
2015-10-04 15:28:54 -06:00 |
|
Gregory Nutt
|
8f7752d956
|
Networking: Modify how callback structures are stored to avoid another potential use of a stal pointer.
|
2015-06-03 08:11:57 -06:00 |
|
Gregory Nutt
|
a47a0d237c
|
Costmetic changes to networking logic
|
2015-05-31 10:29:53 -06:00 |
|
Gregory Nutt
|
6687e156e6
|
Revamp last change. IFF_UP only required when allocating callback, not freeing.
|
2015-05-30 21:13:58 -06:00 |
|
Gregory Nutt
|
0bdf2d5360
|
UDP Networking: Misc fixes to get the last changes working + cleanup
|
2015-05-29 14:32:56 -06:00 |
|
Gregory Nutt
|
f10fdf7ad4
|
Networking: Add a test to see a device pointer is still valid
|
2015-05-29 11:01:03 -06:00 |
|
Gregory Nutt
|
4747c04c94
|
Trivial correction to some comments
|
2015-05-28 19:43:35 -06:00 |
|
Gregory Nutt
|
e81f279315
|
Networking: Modify event list handling: Now there are two event lists each device structure: (1) One is for ARP and ICMP data related evetns, the other is for device related events. Callback allocation/free routines no accept a device paramter as well as a list: If the device paramter is added, then the callback goes into both the connection-related liast AND the device event list. Thus each socket type can received both custom data-related events as well as common device related events.
|
2015-05-28 12:01:38 -06:00 |
|
Gregory Nutt
|
b94321cfb4
|
Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in
|
2015-05-27 11:39:44 -06:00 |
|
Gregory Nutt
|
cab24a4bd8
|
Add inclusion of assert.h to so files that use DEBUGASSERT
|
2014-07-21 18:46:47 -06:00 |
|
Gregory Nutt
|
a6b39d1879
|
NET: in-progress change... don't use
|
2014-07-04 16:38:51 -06:00 |
|
Gregory Nutt
|
fa68fcc843
|
NET: Rename uip_callback_s to devif_callback_s
|
2014-06-29 12:59:34 -06:00 |
|
Gregory Nutt
|
8e706eb4ff
|
Rename many functions in net/devif from uip_* to devif_*
|
2014-06-28 18:36:09 -06:00 |
|
Gregory Nutt
|
5790c94ba3
|
Rename net/uip to net/devif. Rename uip/uip.h to devif/devif.h
|
2014-06-28 18:07:02 -06:00 |
|