[riot-notifications] [RIOT-OS/RIOT] netdev: iolist not checked for empty elements on send (#11163)

Peter Kietzmann notifications at github.com
Mon Apr 1 15:02:29 CEST 2019


I can confirm that the kw2xrf is not affected, as indicated by @bergzand. Tested with *gnrc_networking* on a pba-d-01-kw2x and `udp send ff02::1 1337 ""`. There is no failed assertion here. Furthermore, I set up a UDP server on an other node which received the UDP packet without payload
```
# PKTDUMP: data received:
# ~~ SNIP  0 - size:   0 byte, type: NETTYPE_UNDEF (0)
# 00000000~~ SNIP  1 - size:   8 byte, type: NETTYPE_UDP (4)
#    src-port:  1337  dst-port:  1337
#    length: 8  cksum: 0xa8d5
# ~~ SNIP  2 - size:  40 byte, type: NETTYPE_IPV6 (2)
# traffic class: 0x00 (ECN: 0x0, DSCP: 0x00)
# flow label: 0x00000
# length: 8  next header: 17  hop limit: 64
# source address: fe80::4bf0:6d4f:52a8:432a
# destination address: ff02::1
# ~~ SNIP  3 - size:  18 byte, type: NETTYPE_NETIF (-1)
# if_pid: 7  rssi: -81  lqi: 255
# flags: BROADCAST 
# src_l2addr: 49:F0:6D:4F:52:A8:43:2A
# dst_l2addr: FF:FF
# ~~ PKT    -  4 snips, total size:  66 byte
```

-- 
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/issues/11163#issuecomment-478569711
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/82443727/attachment.html>


More information about the notifications mailing list