OpenCloudOS-Kernel/drivers/net/ethernet/mellanox/mlxbf_gige
Thomas Bogendoerfer d68cb7cf1f net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure
Do skb_put() after a new skb has been successfully allocated otherwise
the reused skb leads to skb_panics or incorrect packet sizes.

Fixes: f92e1869d7 ("Add Mellanox BlueField Gigabit Ethernet driver")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230524194908.147145-1-tbogendoerfer@suse.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-05-25 20:57:46 -07:00
..
Kconfig
Makefile net: mellanox: mlxbf_gige: Replace non-standard interrupt handling 2021-10-29 22:34:03 +02:00
mlxbf_gige.h mlxbf_gige: support 10M/100M/1G speeds on BlueField-3 2023-01-13 21:59:09 -08:00
mlxbf_gige_ethtool.c mlxbf_gige: add "set_link_ksettings" ethtool callback 2023-01-13 21:59:09 -08:00
mlxbf_gige_intr.c mlxbf_gige: remove driver-managed interrupt counts 2022-05-12 16:19:52 -07:00
mlxbf_gige_main.c mlxbf_gige: fix white space in mlxbf_gige_eth_ioctl 2023-01-13 21:59:09 -08:00
mlxbf_gige_mdio.c net: Remove C45 check in C22 only MDIO bus drivers 2023-01-20 18:12:45 -08:00
mlxbf_gige_mdio_bf2.h mlxbf_gige: add MDIO support for BlueField-3 2023-01-13 21:59:09 -08:00
mlxbf_gige_mdio_bf3.h mlxbf_gige: add MDIO support for BlueField-3 2023-01-13 21:59:09 -08:00
mlxbf_gige_regs.h mlxbf_gige: support 10M/100M/1G speeds on BlueField-3 2023-01-13 21:59:09 -08:00
mlxbf_gige_rx.c net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure 2023-05-25 20:57:46 -07:00
mlxbf_gige_tx.c