diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-01-12 15:55:41 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-01-12 15:55:41 -0800 |
commit | 9eacee2ac624bfa9740d49355dbe6ee88d0cba0a (patch) | |
tree | 44226d2cee7f9b9f1e588e27664cc2db15fb3eda /drivers/infiniband/ulp/ipoib/ipoib.h | |
parent | c063a06835d3ccfa6c039d3a3869fcf22249c862 (diff) | |
download | op-kernel-dev-9eacee2ac624bfa9740d49355dbe6ee88d0cba0a.zip op-kernel-dev-9eacee2ac624bfa9740d49355dbe6ee88d0cba0a.tar.gz |
IB/mthca: Initialize grh_present before using it
build_mlx_header() was using sqp->ud_header.grh_present before it was
initialized by mthca_read_ah(). Furthermore, header->grh_present is
set by ib_ud_header_init, so there's no need to set it again in
mthca_read_ah().
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
0 files changed, 0 insertions, 0 deletions