]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 20:33:46 +0000 (15:33 -0500)
commitc3282b89b4052715c28e62ce64990a858ccb269b
treef2c496beb7a6d0ed0c59c77f2942c008cdf47528
parentc9cc93cdddd0b0a6e75cb595444120e8e0980eb4
net/mlx4: Fix uninitialized fields in rule when adding promiscuous mode to device managed flow steering

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

Fixes: 3ad85e40f1e4 ("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>
drivers/net/ethernet/mellanox/mlx4/mcg.c