Skip to content
Commit a627ffc1 authored by Balaji Srinivasan's avatar Balaji Srinivasan Committed by Benjamin Cabé
Browse files

drivers: ethernet: Fix assert on receiving large PDUs



This patch fixes an assert in net_buf_simple_add() function when the
lan_9250 driver would add previously added data to the net buffer
on receiving large (>128 bytes) packat. This fix was to use the frags
field of the net_buf structure instead.

Tested with a nRF54L15 DK and eth3 click board (with nordic connect sdk
2.8.0 and this patch).

Signed-off-by: default avatarBalaji Srinivasan <balaji.srinivasan@autostoresystem.com>
parent 982402a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment