zephyr/include/net
Robert Lubos afaf52af66 net: trickle: Do not initialize a work item from its handler
Initializing a work item from its handler will destroy the content of
the kernel structures used to process the work item. This can lead to a
system crash for example when the delayed work is being rescheduled when
the previous run is already queued for processing but not yet executed.

Fix this by initializing the work item once during trickle timer
creation and moving the logic, previously achieved by switching the work
handler, into the new work handler.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2021-04-27 19:48:16 +03:00
..
bt.h net: bt: fix C++ link errors 2020-08-17 10:45:03 +03:00
buf.h net: buf: Simplify querying maximum len 2021-02-22 19:33:16 +02:00
can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
capture.h net: doc: Add net_capture API documentation 2021-04-07 12:12:30 -04:00
coap_link_format.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
coap.h net: coap: acknowledgement initialization helper 2021-02-15 10:17:11 +02:00
dhcpv4.h
dns_resolve.h net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
dns_sd.h net: dns: dns-sd: support dns service discovery 2020-11-09 16:15:02 -08:00
dsa.h net: Conversion of k_work API 2021-04-14 07:07:40 -04:00
dummy.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ethernet_mgmt.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
ethernet_vlan.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ethernet.h net: l2: ethernet: fix k_work API usage in carrier on/off handling 2021-03-23 16:18:29 +02:00
gptp.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
hostname.h net: hostname: define public macro representing maximum hostname length 2020-11-17 19:21:43 -05:00
http_client.h net: http: add numeric http status code to response struct 2021-04-14 18:46:47 +03:00
http_parser_state.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
http_parser_url.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
http_parser.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
ieee802154_mgmt.h net: ieee802154: remove duplicate definition 2021-04-07 14:15:29 +02:00
ieee802154_radio.h net: openthread: enable CSL delayed transmissions 2021-04-26 13:40:43 +02:00
ieee802154.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4_autoconf.h
lldp.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
lwm2m_path.h net: lwm2m: Add path generation macro 2020-11-10 14:10:44 +02:00
lwm2m.h net: Conversion of k_work API 2021-04-14 07:07:40 -04:00
mii.h
mqtt.h net: mqtt: Return -1 if keepalive messages are disabled. 2020-12-08 14:08:36 -05:00
net_config.h drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
net_conn_mgr.h
net_context.h net: Remove support for CONFIG_NET_CONTEXT_TIMESTAMP option 2021-04-26 10:46:43 +03:00
net_core.h net: Enable running without TX or RX threads 2021-04-27 12:02:19 +03:00
net_event.h net: event: Add start/bound/stop events for DHCPv4 2020-10-03 17:15:15 +03:00
net_if.h net: if: Check iface before setting/getting interface MTU 2021-04-20 13:44:39 -04:00
net_ip.h net: virtual: ipip: Add IP tunneling driver 2021-03-29 07:40:24 -04:00
net_l2.h net: capture: Catch sent and received packets 2021-04-02 07:24:06 -04:00
net_linkaddr.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_mgmt.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
net_offload.h kernel: Remove CONFIG_LEGACY_TIMEOUT_API 2021-01-14 21:33:16 -05:00
net_pkt.h net: pkt: Separate the timestamp and TX/RX stats configs 2021-04-27 12:02:19 +03:00
net_stats.h net: Enable running without TX or RX threads 2021-04-27 12:02:19 +03:00
net_timeout.h net: timeout: refactor to fix multiple problems 2021-01-07 11:14:38 +02:00
openthread.h openthread: add openthread_api_mutex_try_lock() 2020-10-20 16:39:22 +03:00
ppp.h net: Conversion of k_work API 2021-04-14 07:07:40 -04:00
promiscuous.h net: promisc: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
ptp_time.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sntp.h net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
socket_can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
socket_net_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket_offload.h net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
socket_select.h net: include: Add missing brace to socket_select.h 2021-01-20 12:01:27 +02:00
socket_types.h net: socket: Implement SO_RCVTIMEO timeout option 2021-01-19 17:11:25 -05:00
socket.h net: socket: Workaround issue with recent GCC and fcntl macro 2021-04-14 11:10:16 -05:00
socketutils.h
tftp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tls_credentials.h
trickle.h net: trickle: Do not initialize a work item from its handler 2021-04-27 19:48:16 +03:00
udp.h
virtual_mgmt.h net: virtual: Add virtual network interface support 2021-03-29 07:40:24 -04:00
virtual.h net: l2: ipip: Add capability bit for IPIP tunnel 2021-04-02 07:24:06 -04:00
websocket.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
wifi_mgmt.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wifi.h