aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAdi Nissim <adin@mellanox.com>2018-06-05 11:32:11 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-07-31 12:58:44 -0700
commiteacecf2760e321bf1c99b981d44a14bd05721f15 (patch)
treeaac70cbaea8af662d931939de31ab6c0670da010 /fs/jbd2/commit.c
parent2e8e70d249e8c5c79bf88bbb36bb68154ab15471 (diff)
net/mlx5e: Fix null pointer access when setting MTU of vport representor
MTU helper function is used by both conventional mlx5e instances (PF/VF) and the eswitch representors. The representor shouldn't change the nic vport context MTU, the VF is responsible for that. Therefore set_mtu_cb has a null value when changing the representor MTU. Fixes: 250a42b6a764 ("net/mlx5e: Support configurable MTU for vport representors") Signed-off-by: Adi Nissim <adin@mellanox.com> Reviewed-by: Yevgeny Kliteynik <kliteyn@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions