[riot-notifications] [RIOT-OS/RIOT] cpu/esp8266: Improvements to the esp_wifi netdev driver (#10862)

Gunar Schorcht notifications at github.com
Fri Jan 25 17:02:55 CET 2019


@smIng @MichelRottleuthner Using the following changes, I can ping the esp8266 node from 4 terms with a maximum data size of 1392 byte and an interval of 0 without any crashes until I run into problem 3 in issue #10861.

```diff
--- a/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c
+++ b/sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c
@@ -93,6 +93,12 @@ void gnrc_icmpv6_echo_req_handle(gnrc_netif_t *netif, ipv6_hdr_t *ipv6_hdr,
     pkt = hdr;
     hdr = gnrc_netif_hdr_build(NULL, 0, NULL, 0);
 
+    if (hdr == NULL) {
+        DEBUG("icmpv6_echo: no space left in packet buffer\n");
+        gnrc_pktbuf_release(pkt);
+        return;
+    }
+
     if (netif != NULL) {
         ((gnrc_netif_hdr_t *)hdr->data)->if_pid = netif->pid;
     }
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10862#issuecomment-457621790
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190125/f5dbaa58/attachment.html>


More information about the notifications mailing list