summaryrefslogtreecommitdiff
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorRobert Hancock <robert.hancock@calian.com>2022-01-18 15:41:30 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 08:46:20 +0100
commit5a8582d8efe823073eac05c029617c001549f49f (patch)
tree558b64b176befbe2184af6e5aa9452650fefdd66 /net/core/net_namespace.c
parent9dcd1b4c2f5f9ebe1ac8db84077aa424587db5f9 (diff)
net: axienet: fix number of TX ring slots for available check
commit aba57a823d2985a2cc8c74a2535f3a88e68d9424 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions