[ofa-general] [PATCH] iser: avoid recv buf exhaustion v2 (resend)

Roland Dreier rdreier at cisco.com
Sun Dec 21 13:57:09 PST 2008


Please put information that shouldn't go into the patch description
inside the [PATCH] part of the subject line -- otherwise I have to edit
things by hand to avoid having the "v2 (resend)" in the kernel log.  ie
the subject line you should have used was something like

[PATCH v2 - resend] IB/iser: Avoid recv buffer exhaustion caused by unexpected PDUs

Also, checkpatch says:

ERROR: code indent should use tabs where possible
#146: FILE: drivers/infiniband/ulp/iser/iser_initiator.c:198:
+        outstanding_unexp_pdus =$

ERROR: code indent should use tabs where possible
#147: FILE: drivers/infiniband/ulp/iser/iser_initiator.c:199:
+                atomic_xchg(&iser_conn->ib_conn->unexpected_pdu_count, 0);$

ERROR: else should follow close brace '}'
#300: FILE: drivers/infiniband/ulp/iser/iser_initiator.c:636:
+	}
+	else if (opcode == ISCSI_OP_ASYNC_EVENT) {

I fixed these by hand when applying, but please check your patches
yourself in the future to avoid this.

 - R.



More information about the general mailing list