Skip to content

3.1-git ipoib: fix NULL pointer dereference

Bernd Schubert linux-rdma netdev 1 version In review

Get series with b4
b4 am 20110816105648.1805137.35191.stgit@fsdevel3

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Fix possible Null pointer dereference in ipoib_start_xmit()drivers/infiniband/ulp/ipoib/ipoib_main.c+5 -31 reply
2/2Rename 'n' into a longer variable name.drivers/infiniband/ulp/ipoib/ipoib_main.c+8 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] 3.1-git ipoib: fix NULL pointer dereference

The following series
- fixes a NULL pointer dereferences in ipoib_start_xmit()
- renames variable 'n' to 'dst_neigh' to make the code better readable

Question: I am unsure about the usage of likely() here, as I run into the else branch, maybe it is not that unlikely and likely() should be removed?

---

Bernd Schubert (2):
Fix possible Null pointer dereference in ipoib_start_xmit() Rename 'n' into a longer variable name.

 drivers/infiniband/ulp/ipoib/ipoib_main.c |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

--
Bernd Schubert
Fraunhofer ITWM / FhGFS

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html