mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
cb0f0910f4
Simplify user_mad.c code in a few places, and convert from kmalloc() + memset() to kzalloc(). This also fixes a theoretical race window by not accessing packet->length after posting the send buffer (the send could complete and packet could be freed before we get to the return statement at the end of ib_umad_write()). Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> |
||
---|---|---|
.. | ||
core | ||
hw/mthca | ||
ulp/ipoib | ||
Kconfig | ||
Makefile |