public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] 3.1-git ipoib: fix NULL pointer dereference
@ 2011-08-16 10:56 Bernd Schubert
  2011-08-16 10:56 ` [PATCH 1/2] Fix possible Null pointer dereference in ipoib_start_xmit() Bernd Schubert
  2011-08-16 10:56 ` [PATCH 2/2] Rename 'n' into a longer variable name Bernd Schubert
  0 siblings, 2 replies; 5+ messages in thread
From: Bernd Schubert @ 2011-08-16 10:56 UTC (permalink / raw)
  To: netdev-u79uwXL29TY76Z2rM5mHXA; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-16 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 10:56 [PATCH 0/2] 3.1-git ipoib: fix NULL pointer dereference Bernd Schubert
2011-08-16 10:56 ` [PATCH 1/2] Fix possible Null pointer dereference in ipoib_start_xmit() Bernd Schubert
2011-08-16 17:19   ` Roland Dreier
2011-08-16 10:56 ` [PATCH 2/2] Rename 'n' into a longer variable name Bernd Schubert
2011-08-16 18:47   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox