aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2017-06-15 20:08:32 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-06-15 23:27:46 +0300
commit31ac93386d135a6c96de9c8bab406f5ccabf5a4d (patch)
tree91f710107a539fd98f4cc764cd3e713ef0740e49 /net/ipv4
parentnet/mlx5e: Remove TC header re-write offloading of ip tos (diff)
downloadlinux-dev-31ac93386d135a6c96de9c8bab406f5ccabf5a4d.tar.xz
linux-dev-31ac93386d135a6c96de9c8bab406f5ccabf5a4d.zip
net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it
The error flow of mlx5e_create_netdev calls the cleanup call of the given profile without checking if it exists, fix that. Currently the VF reps don't register that callback and we crash if getting into error -- can be reproduced by the user doing ctrl^C while attempting to change the sriov mode from legacy to switchdev. Fixes: 26e59d8077a3 '(net/mlx5e: Implement mlx5e interface attach/detach callbacks') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reported-by: Sabrina Dubroca <sdubroca@redhat.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions