Home
last modified time | relevance | path

Searched hist:aba57a823d2985a2cc8c74a2535f3a88e68d9424 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.cdiff aba57a823d2985a2cc8c74a2535f3a88e68d9424 Tue Jan 18 15:41:30 CST 2022 Robert Hancock <robert.hancock@calian.com> 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 <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>