diff options
| author | 2025-09-30 15:25:01 +0300 | |
|---|---|---|
| committer | 2025-10-03 10:20:20 -0700 | |
| commit | 4f0d91ba72811fd5dd577bcdccd7fed649aae62c (patch) | |
| tree | e58e34d7dc53381aa58329bf633d36e81de509ab /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | net: usb: lan78xx: Fix lost EEPROM read timeout error(-ETIMEDOUT) in lan78xx_read_raw_eeprom (diff) | |
net/mlx4: prevent potential use after free in mlx4_en_do_uc_filter()
Print "entry->mac" before freeing "entry". The "entry" pointer is
freed with kfree_rcu() so it's unlikely that we would trigger this
in real life, but it's safer to re-order it.
Fixes: cc5387f7346a ("net/mlx4_en: Add unicast MAC filtering")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/aNvMHX4g8RksFFvV@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
