diff options
author | Matan Barak <matanb@mellanox.com> | 2014-11-13 07:45:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-13 15:16:17 -0500 |
commit | ffc39f6d6fff2878c55ffa5ffb1828d7618c0a29 (patch) | |
tree | 6323cfe73ab51c008a4848fadd6eca128a50e7d8 /security/selinux/hooks.c | |
parent | 225c6c8c6bbbc32455df3d1c0fb1e1e1fb51c533 (diff) |
net/mlx4_core: Refactor mlx4_cmd_init and mlx4_cmd_cleanup
Refactoring mlx4_cmd_init and mlx4_cmd_cleanup such that partial init
and cleanup are possible. After this refactoring, calling mlx4_cmd_init
several times is safe.
This is necessary in the VF init flow when mlx4_init_hca returns -EACCESS,
we need to issue cleanup and re-attempt to call it with the slave flag.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions