summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2017-11-05 04:54:53 +0100
committerDavid S. Miller2017-11-08 02:41:32 +0100
commit39a4b86f0de4ce5024985a56fc39b16194b04313 (patch)
tree57d0550e5ea32b7c51ae340d18d8c8a961db8267 /drivers/net/bonding/bond_main.c
parentnet: mvpp2: Prevent userspace from changing TX affinities (diff)
downloadkernel-qcow2-linux-39a4b86f0de4ce5024985a56fc39b16194b04313.tar.gz
kernel-qcow2-linux-39a4b86f0de4ce5024985a56fc39b16194b04313.tar.xz
kernel-qcow2-linux-39a4b86f0de4ce5024985a56fc39b16194b04313.zip
net/mlx5e/core/en_fs: fix pointer dereference after free in mlx5e_execute_l2_action
hn is being kfree'd in mlx5e_del_l2_from_hash and then dereferenced by accessing hn->ai.addr Fix this by copying the MAC address into a local variable for its safe use in all possible execution paths within function mlx5e_execute_l2_action. Addresses-Coverity-ID: 1417789 Fixes: eeb66cdb6826 ("net/mlx5: Separate between E-Switch and MPFS") Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions