diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2007-06-06 19:35:04 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-06-07 23:24:38 -0700 |
commit | 57f01b53398baebd809e7efd49fc10c10174b46d (patch) | |
tree | dc3ab265d42b52f43679cead18d5e35e8a9eba3b /kernel/module.c | |
parent | b2d9308ae43a9cfa56cc9682dc6ed63347a8d2bf (diff) | |
download | linux-stable-57f01b53398baebd809e7efd49fc10c10174b46d.tar.gz linux-stable-57f01b53398baebd809e7efd49fc10c10174b46d.tar.bz2 linux-stable-57f01b53398baebd809e7efd49fc10c10174b46d.zip |
IB/mlx4: Fix zeroing of rnr_retry value in ib_modify_qp()
The code in __mlx4_ib_modify_qp() overwrites context->params1 after
the RNR retry parameter is ORed in, which results in the RNR retry
parameter always being set to 0. Fix this by moving where we OR in
the value to later in the function, after the initial assignment of
context->params1.
Found by the Mellanox firmware group.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions