commit | 4ff522ea47944ffd3d4d27023ace8bc6a722c834 | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Tue Oct 18 14:04:39 2016 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Wed Nov 16 20:10:36 2016 -0500 |
tree | 8f3a55cb119b4a0fc58485eb0368375a38aad56e | |
parent | 6fa1f2f0aa6191193704b9ff10e5a2cafe540738 [diff] |
iw_cxgb4: set *bad_wr for post_send/post_recv errors There are a few cases in c4iw_post_send() and c4iw_post_receive() where *bad_wr is not set when an error is returned. This can cause a crash if the application tries to use bad_wr. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>