zephyr/subsys
Tomasz Bursztyka 274db4f33d net/udp: Accept UDP packet with missing checksum
Having a checksum of zeros in UDP means "missing checksum" and is a
valid case as per RFC 768:

"An all zero transmitted checksum value means that the transmitter
generated no checksum (for debugging or for higher level protocols
that don't care)."

Such support is made possible by adding a new Kconfig option named
CONFIG_NET_UDP_MISSING_CHECKSUM.

However, that is valid only for IPv4. For IPv6, see the RFC 2460
section 8.1:

"Unlike IPv4, when UDP packets are originated by an IPv6 node, the UDP
checksum is not optional."

So the UDP checksum will always be verified in IPv6.

Fixes #16375

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-05-27 20:58:53 +08:00
..
bluetooth Bluetooth: smp: adding LE SC OOB support for peripheral side 2019-05-27 13:50:46 +02:00
console console: kconfig: Put 'menuconfig CONSOLE_SUBSYS' in top-level menu 2019-05-15 05:10:01 -05:00
cpp c++: kconfig: Fix choice dependencies and use 'menuconfig' symbol 2019-05-16 07:08:21 -05:00
debug arch: arm: remove _preempt_float in unshared FP registers mode 2019-05-03 14:25:22 -04:00
dfu dfu: kconfig: Remove 'DFU Options' menu 2019-05-15 05:02:32 -05:00
disk disk: kconfig: Group related symbols and use 'menuconfig' symbol 2019-05-20 12:51:42 -04:00
fb license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fs fs/nvs: fix startup for 2-sectors configuration 2019-05-22 10:22:53 +02:00
jwt cmake: Don't have users call zephyr_link_interface on mbedTLS 2019-05-11 08:35:26 -04:00
logging logging: Add string duplicates pool profiling 2019-05-27 10:18:10 +02:00
mgmt Bluetooth: GATT: Rename BT_GATT_DB to BT_GATT_DYNAMIC_DB 2019-05-02 08:29:23 +03:00
net net/udp: Accept UDP packet with missing checksum 2019-05-27 20:58:53 +08:00
power kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00
random subsys/random: Hide 'Random generator' choice when empty 2019-05-15 05:10:56 -05:00
settings subsys/settings: Correct size in strncpy to avoid unterminated strings 2019-05-10 09:01:40 -04:00
shell shell: add select command 2019-05-24 11:04:42 +02:00
stats stats: extending api to handle statistics with more than 256 elements 2019-05-01 10:33:17 -04:00
storage subsys/storage/flash_map: Fix returned error codes 2019-05-24 11:13:41 +02:00
testsuite subsys/ztest: Documentation fix 2019-05-23 08:35:06 -04:00
usb usb: device: Do not return error if ep already enabled 2019-05-22 11:19:49 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00