RDMA/ocrdma: Set bad_wr in error case
authorNaresh Gottumukkala <bgottumukkala@emulex.com>
Mon, 10 Jun 2013 04:42:40 +0000 (04:42 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 20 Jun 2013 11:52:14 +0000 (04:52 -0700)
commitf6ddcf71070d01a7bb34818dd3aaf4bdac5386fa
tree82ae24cc56ef99f4d3058244fee6f1bcc8aebcfc
parentef99c4c2ed63cb0deb94ea70fb47c2d6294e302e
RDMA/ocrdma: Set bad_wr in error case

Fix post_send to set the bad_wr in error case.

Signed-off-by: Naresh Gottumukkala <bgottumukkala@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c