mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
3056fc6c32
If siw_recv_mpa_rr returns -EAGAIN, it means that the MPA reply hasn't
been received completely, and should not report IW_CM_EVENT_CONNECT_REPLY
in this case. This may trigger a call trace in iw_cm. A simple way to
trigger this:
server: ib_send_lat
client: ib_send_lat -R <server_ip>
The call trace looks like this:
kernel BUG at drivers/infiniband/core/iwcm.c:894!
invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
<...>
Workqueue: iw_cm_wq cm_work_handler [iw_cm]
Call Trace:
<TASK>
cm_work_handler+0x1dd/0x370 [iw_cm]
process_one_work+0x1e2/0x3b0
worker_thread+0x49/0x2e0
? rescuer_thread+0x370/0x370
kthread+0xe5/0x110
? kthread_complete_and_exit+0x20/0x20
ret_from_fork+0x1f/0x30
</TASK>
Fixes:
|
||
---|---|---|
.. | ||
iwarp.h | ||
Kconfig | ||
Makefile | ||
siw_cm.c | ||
siw_cm.h | ||
siw_cq.c | ||
siw_main.c | ||
siw_mem.c | ||
siw_mem.h | ||
siw_qp_rx.c | ||
siw_qp_tx.c | ||
siw_qp.c | ||
siw_verbs.c | ||
siw_verbs.h | ||
siw.h |