diff options
| author | Robert Hancock <[email protected]> | 2022-01-18 15:41:30 -0600 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-01-19 11:29:14 +0000 |
| commit | aba57a823d2985a2cc8c74a2535f3a88e68d9424 (patch) | |
| tree | ce2128ed41cdccbea07a53d5608ae4993edce4e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | 996defd7f8b5dafc1d480b7585c7c62437f80c3c (diff) | |
net: axienet: fix number of TX ring slots for available check
The check for the number of available TX ring slots was off by 1 since a
slot is required for the skb header as well as each fragment. This could
result in overwriting a TX ring slot that was still in use.
Fixes: 8a3b7a252dca9 ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver")
Signed-off-by: Robert Hancock <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions