Skip to content
Commit 5a717843 authored by Rex Chang's avatar Rex Chang Committed by David S. Miller
Browse files

Net: ethernet: ti: netcp: Fix inbound ping crash if MTU size is greater than 1500



In the receive queue for 4096 bytes fragments, the page address
set in the SW data0 field of the descriptor is not the one we got
when doing the reassembly in receive. The page structure was retrieved
from the wrong descriptor into SW data0 which is then causing a
page fault when UDP checksum is accessing data above 1500.

Signed-off-by: default avatarRex Chang <rchang@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6db959c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment