2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/infiniband/hw
Eli Cohen 920d706c89 IB/core: Fix and clean up ib_ud_header_init()
ib_ud_header_init() first clears header and then fills up the various
fields.  Later on, it tests header->immediate_present, which it has
already cleared, so the condition is always false.  Fix this by adding
an immediate_present parameter and setting header->immediate_present
as is done with grh_present.  Also remove unused calculation of
header_len.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-02-24 14:54:10 -08:00
..
amso1100 RDMA/amso1100: Fix error paths in post_send and post_recv 2009-12-09 14:56:11 -08:00
cxgb3 kfifo: fix warn_unused_result 2009-12-22 14:17:56 -08:00
ehca Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2009-12-16 10:32:31 -08:00
ipath RDMA: Use rlimit helpers 2010-02-11 15:40:48 -08:00
mlx4 IB/core: Fix and clean up ib_ud_header_init() 2010-02-24 14:54:10 -08:00
mthca IB/core: Fix and clean up ib_ud_header_init() 2010-02-24 14:54:10 -08:00
nes Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2009-12-16 10:32:31 -08:00