]> 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)
commit021f50682f8202d6d83f3363ded8db947f870b31
tree119a88e07c0fcb49cc5a74e0739122c15b2ef6b9
parentf2499cf349efc309cec1c51b1e20006c9894f5d2
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