1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 21:32:45 +01:00
RIOT/cpu/native/netdev2_tap
Yonezawa-T2 c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
..
Makefile sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00
netdev2_tap.c netdev2_tap: continue reading even if no spaces left in pktbuf 2016-03-31 16:59:12 +09:00