]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx4: Fix uninitialized fields in rule when adding promiscuous mode to device...
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 27 Nov 2016 17:20:52 +0000 (19:20 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 23 Feb 2017 03:54:40 +0000 (03:54 +0000)
commit96239edec08bb293755bdebefe3690763905a843
tree66a0fca9318629b3ae36e2f940bfd7b81baa575c
parent26f2b33f75e4ddc0008c55e46b50af971d0f531c
net/mlx4: Fix uninitialized fields in rule when adding promiscuous mode to device managed flow steering

commit 44b911e77793d686b481608770d0c55c18055ba0 upstream.

In procedure mlx4_flow_steer_promisc_add(), several fields
were left uninitialized in the rule structure.
Correctly initialize these fields.

Fixes: 592e49dda812 ("net/mlx4: Implement promiscuous mode with device managed flow-steering")
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/mellanox/mlx4/mcg.c