]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
IB/qib: UD send with immediate receive completion has wrong size
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 11 Jan 2011 01:42:20 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:20 +0000 (17:42 -0800)
commitc7665e5a6988450a6cc19c2dc1dff4d290077614
tree09dfcc1f57b33ce7d6199044d2947e915fd412f5
parent3c9e5f4d657170c2fbc3d382d2daae3820713a6c
IB/qib: UD send with immediate receive completion has wrong size

The code to generate receive completion entries for UD send with
immediate contains the wrong payload length.  This is because when the
code to compute the payload size was moved, the value of hdrsize
didn't get moved too.  The fix is to update tlen directly.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_ud.c