zephyr/samples/net
Ravi kumar Veeramally 6cadd380b7 samples: net: Fix echo_server reply packet preparation
If the incoming packet fragments doesn't have any link layer
header then build_reply_pkt() will set reply packet fragment's link
layer header space to zero. Which is causing issue in case of IPv4.
ARP layer is trying to fill Ethernet headers, but fragments
ll header length is set to zero.

Just use net_pkt_copy_all() to copy payload. That should be enough.

Fixes #6564

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2018-05-16 16:40:27 +03:00
..
coap_client samples: net: coap: Solved the payload issue in coap GET Method 2018-04-16 10:36:57 +03:00
coap_server samples: net: Fix CoAP server payload dump function 2018-04-27 13:28:25 +03:00
coaps_client mbedtls: Replace COAP-specific max len setting with generic 2018-03-18 09:38:22 -07:00
coaps_server mbedtls: Replace COAP-specific max len setting with generic 2018-03-18 09:38:22 -07:00
common gpio: Refactor the mcux gpio driver to use dts 2018-04-20 08:54:11 -05:00
dhcpv4_client samples: net: Fix sanitycheck for sam_e70_xplained board 2018-04-05 08:25:49 -04:00
dns_resolve samples: net: dns_resolver: Add config options for tests 2018-05-14 17:22:27 -04:00
echo_client samples/net: Fix echo_client for cc2520 2018-05-09 13:18:14 -04:00
echo_server samples: net: Fix echo_server reply packet preparation 2018-05-16 16:40:27 +03:00
eth_native_posix doc: fix doc misspellings in doc, boards, samples 2018-04-05 19:17:01 -04:00
http_client samples: net: https-client: Increasing main stack size 2018-05-03 08:55:58 +03:00
http_server samples: net: Add test cases for USB EEM 2018-04-06 06:50:34 -04:00
irc_bot tests/samples: add hw dependencies 2018-05-01 19:10:27 -04:00
leds_demo samples: Allow use of "CONTROLLER" postfix for LED and GPIO 2018-04-19 09:32:39 -05:00
lwm2m_client net: lwm2m: mark OPTIONAL resources for LwM2M Device 2018-05-16 10:56:07 +03:00
mbedtls_dtlsclient cmake: Ported mbedTLS to use Zephyr interface libraries 2018-01-02 22:09:01 -05:00
mbedtls_dtlsserver mbedtls: Switch default MBEDTLS_CFG_FILE to config-mini-tls1_2.h 2018-02-15 12:35:31 -05:00
mbedtls_sslclient samples: net: mbedtls_sslclient: Fix prj.conf file 2018-05-15 17:11:56 +03:00
mdns_responder samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
mqtt_publisher mbedtls: Add CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN 2018-03-18 09:38:22 -07:00
nats samples: Allow use of "CONTROLLER" postfix for LED and GPIO 2018-04-19 09:32:39 -05:00
rpl-mesh-qemu sample: net: RPL mesh sample over QEMU 2018-02-20 14:47:14 +02:00
rpl-node samples: Allow use of "CONTROLLER" postfix for LED and GPIO 2018-04-19 09:32:39 -05:00
sntp_client samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
sockets samples: sockets: dumb_http_server: Disable TIME_WAIT delay 2018-05-16 11:03:49 +03:00
stats samples: net: stats: Print ethernet statistics 2018-04-11 16:49:48 +03:00
syslog_net samples: net: Fix sanitycheck for sam_e70_xplained board 2018-04-05 08:25:49 -04:00
telnet samples: telnet: fix net mgmt event handler 2018-04-12 10:35:10 +03:00
throughput_server net: samples: throughput_server: Decrease buffer count 2018-02-10 09:20:42 +02:00
traffic_class samples: net: Add traffic class sample application 2018-03-27 10:06:54 -04:00
vlan drivers: eth: native_posix: Add VLAN support 2018-04-05 08:54:19 -04:00
wpan_serial usb: Remove USB VID / PID for sanity check builds 2018-04-03 15:58:33 -04:00
wpanusb usb: wpanusb: Fix setting wrong length 2018-04-25 07:17:42 +05:30
ws_console samples: net: websocket_console: Do not copy pass end of string 2018-03-26 13:00:11 +03:00
ws_echo_server net: websocket: Use system provided base64 function 2018-03-23 08:30:26 -04:00
zperf samples: net: Add test cases for USB EEM 2018-04-06 06:50:34 -04:00
net.rst doc: add labels to net sample docs for linking 2017-04-04 19:52:06 +00:00