diff options
author | David Arinzon <[email protected]> | 2024-05-12 13:46:35 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-13 14:42:04 -0700 |
commit | b37b98a3a0c1198bafe8c2d9ce0bc845b4e7a9a7 (patch) | |
tree | 3fa83237dd7e9e43cc17edc99327af3bacf48a6e /drivers/usb/cdns3/cdns3-trace.c | |
parent | 48673ef444317f44c80da4fe98442dd56ed78cac (diff) |
net: ena: Add validation for completion descriptors consistency
Validate that `first` flag is set only for the first
descriptor in multi-buffer packets.
In case of an invalid descriptor, a reset will occur.
A new reset reason for RX data corruption has been added.
Signed-off-by: Shahar Itzko <[email protected]>
Signed-off-by: David Arinzon <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions