1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/usb/usbus/cdc
Koen Zandberg cd489cebd1
cdc_ecm: Truncate frames at max ethernet size
This truncates the incomming frames to ETHERNET_FRAME_LEN and silently
discards the rest of the frame until the end of the frame. This should
be modified to an endpoint halt condition after #17090 is merged, but
for now this should be good enough.

Stalling the endpoint with the current stall implementation could cause
a ping of death scenario, so for now the data is truncated until the
above solution can be implemented.
2021-11-15 16:04:13 +01:00
..
acm usbus/cdc_acm: resolve vera++ issues 2021-11-04 13:49:35 +01:00
ecm cdc_ecm: Truncate frames at max ethernet size 2021-11-15 16:04:13 +01:00
Kconfig usbus/cdc/ecm: Expose configurations to Kconfig 2020-04-08 16:31:46 +02:00