aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-05-03 15:28:39 +0300
committerLeon Romanovsky <[email protected]>2019-05-28 17:35:06 +0300
commit6cc070bdf07c8f6d5955d43da0560c9e5fd203b1 (patch)
tree590f158e23f7646dc447e01e7adbb8471eceb82e /include/linux
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
net/mlx5: potential error pointer dereference in error handling
The error handling was a bit flipped around. If the mlx5_create_flow_group() function failed then it would have resulted in dereferencing "fg" when it was an error pointer. Fixes: 80f09dfc237f ("net/mlx5: Eswitch, enable RoCE loopback traffic") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions