]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Fix memory access error in mlx4_QUERY_DEV_CAP_wrapper()
authorAmir Vadai <amirv@mellanox.com>
Thu, 6 Mar 2014 16:28:16 +0000 (18:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 22:09:04 +0000 (17:09 -0500)
commitcb46d8a5f529c265786776f29dc7163e12addfd5
tree3d5977829a6edd48d542e59e82085e90b5c14162
parentd71709c707983e62c53a66ab58f8a080798406ff
net/mlx4_core: Fix memory access error in mlx4_QUERY_DEV_CAP_wrapper()

Fix a regression introduced by [1]. outbox was accessed instead of
outbox->buf. Typo was copy-pasted to [2] and [3].

[1] - 4d5c022 mlx4_core: Disable memory windows for virtual functions
[2] - 0555346 mlx4_core: Add support for steerable IB UD QPs
[3] - fd12416 net/mlx4_core: Add basic support for TCP/IP offloads under
      tunneling

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c