diff options
author | Rex Chang <rchang@ti.com> | 2018-01-16 15:16:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-17 16:19:37 -0500 |
commit | 5a717843177c96ca3fe4565187de395afdb28092 (patch) | |
tree | 8e4e6770752f4506041512037d132f423b0da0b3 /net | |
parent | 6db959c82eb039a151d95a0f8b7dea643657327a (diff) | |
download | linux-stable-5a717843177c96ca3fe4565187de395afdb28092.tar.gz linux-stable-5a717843177c96ca3fe4565187de395afdb28092.tar.bz2 linux-stable-5a717843177c96ca3fe4565187de395afdb28092.zip |
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: Rex Chang <rchang@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions