zephyr/net/ip
Michael LeMay ac00cd4e37 net: Adapt return value from network driver send routine
This patch fixes a potential issue in which the signed return value
from the network driver send routine is returned from a caller that
has an unsigned return type.  The meaning of a negative return value
from the network driver send routine is that an error occurred.  A
return value of 1 means that the packet was sent successfully.  A
return value of 0 means that the packet could not be sent.  Thus, this
patch converts negative return values from the network driver send
routine to a return value of 0 from the caller.

Change-Id: If5cbecb18e514fd976200ecc45782d2a9e1f300f
Signed-off-by: Michael LeMay <michael.lemay@intel.com>
2016-02-05 20:24:38 -05:00
..
contiki net: Remove compile time warning for random number generator 2016-02-05 20:24:37 -05:00
er-coap net: coap: Observe client needs to allocate net_buf 2016-02-05 20:15:39 -05:00
rest-engine net: contiki: etimer should call proper handler 2016-02-05 20:24:24 -05:00
tinydtls net: contiki: etimer should call proper handler 2016-02-05 20:24:24 -05:00
tools net: tools: Modify pcap functions on 15.4 monitor tool 2016-02-05 20:24:36 -05:00
Kconfig Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
Makefile net: Change EXTRA_CFLAGS to ccflags-y 2016-02-05 20:24:37 -05:00
dummy_15_4_radio.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
dummy_15_4_radio.h net: 15.4: Add 802.15.4 driver and 802.15.4 loopback radio driver 2016-02-05 20:14:30 -05:00
net_buf.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
net_context.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
net_driver_15_4.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
net_driver_15_4.h Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
net_driver_loopback.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
net_driver_loopback.h net: Add loopback driver 2016-02-05 20:14:29 -05:00
net_driver_slip.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
net_driver_slip.h net: slip: Add slip driver for testing purposes 2016-02-05 20:14:34 -05:00
net_init.c net: Adapt return value from network driver send routine 2016-02-05 20:24:38 -05:00