]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Init ethtool steering for representors
authorVlad Buslov <vladbu@mellanox.com>
Fri, 10 May 2019 17:19:29 +0000 (20:19 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 9 Mar 2020 23:58:48 +0000 (16:58 -0700)
commit1b5efcc4254c07e6b6eaab67d987401d28882f0d
tree119a88e07c0fcb49cc5a74e0739122c15b2ef6b9
parent3a78c6393db374a38a51e64196ff2cec250f3b61
net/mlx5e: Init ethtool steering for representors

During transition to uplink representors the code responsible for
initializing ethtool steering functionality wasn't added to representor
init rx routine. This causes NULL pointer dereference during configuration
of network flow classification rule with ethtool (only possible to
reproduce with next commit in this series which registers necessary ethtool
callbacks).

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c