zephyr/subsys
Robert Lubos de55dbcbb1 net: tcp: Fix SYN handling after connection is established
According to RFC 793, ch 3.9 Event Processing, receving SYN flag after
the connection has been established is an error codition:

    If the SYN is in the window it is an error, send a reset, any
    outstanding RECEIVEs and SEND should receive "reset" responses,
    all segment queues should be flushed, the user should also
    receive an unsolicited general "connection reset" signal, enter
    the CLOSED state, delete the TCB, and return."

Currently TCP stack ignored such event, causing interoperability test
failures. Fix this, by verifying if the SYN flag is set in a packet in
any state other than TCP_LISTEN and TCP_SYN_SENT.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-08-05 15:17:09 +02:00
..
bluetooth Bluetooth: host: Fix SMP local keys check when starting encryption 2022-08-05 15:05:56 +02:00
canbus subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
console subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
cpp cpp: Include additional contents in <cstddef> 2022-06-23 09:12:33 +02:00
debug debug: gdbstub: Move to DTS for uart device 2022-08-01 09:09:45 -07:00
demand_paging different subsystems: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
dfu subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
disk subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
emul emul: Fix emul_espi_host.c type coercion 2022-07-29 20:05:38 -05:00
fb scripts: move gen_cfb_font_header.py to scripts/build 2022-07-12 10:03:45 +02:00
fs fs: fcb: Define length padding bytes 2022-07-20 11:09:29 +02:00
ipc ipc_service: Add endpoint registered check 2022-07-14 10:29:42 +02:00
jwt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
logging logging: log_output: Add function for processing input arguments 2022-07-21 09:04:37 -04:00
lorawan lorawan: upgrade to LoRaMAC-node v4.6.0 2022-08-03 05:02:57 +01:00
mgmt mgmt: osdp: Move to DTS for uart device 2022-07-23 09:25:23 -05:00
modbus modbus: use DT_INST_PARENT instead of DT_INST_BUS 2022-07-13 11:36:59 +02:00
net net: tcp: Fix SYN handling after connection is established 2022-08-05 15:17:09 +02:00
pm pm: policy: allow multiple subscribers to latency changes 2022-08-03 11:19:17 +02:00
portability different subsystems: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
random subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
rtio include: fix the remaining legacy #include paths 2022-08-02 16:41:41 +01:00
sd sd: add proper handling for DISK_IOCTL_CTRL_SYNC 2022-07-04 14:25:33 +00:00
settings settings: API for get storage instance used 2022-08-02 15:15:10 +02:00
shell shell: kernel: fix sleep command 2022-08-03 18:47:03 +02:00
stats subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
storage storage: flash_map: handle disabled flash nodes 2022-07-04 10:28:41 +02:00
task_wdt include: add more missing zephyr/ prefixes 2022-05-27 15:20:27 -07:00
testsuite ztest: Fix logic for listing tests once 2022-08-03 14:32:54 -04:00
timing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing kernel: Use mask rather than boolean to update events 2022-07-25 15:24:32 -04:00
usb usb: device: add dummy configure API 2022-07-13 11:36:59 +02:00
CMakeLists.txt dfu: fixup conditional CMake include 2022-08-05 15:14:40 +02:00
Kconfig rtio: Real-Time Input/Output Stream 2022-06-28 13:53:13 -04:00