commit | 7bc7972cdd1f137552ca979caa11c8acbe119ae8 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Jan 21 11:03:27 2015 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Jan 30 10:47:48 2015 -0500 |
tree | 14badd58f929053f11a9154c7f9f67e407d420cd | |
parent | 5ae711a24601257f395c1f8746ac95be0cbd75e5 [diff] |
xprtrdma: Take struct ib_device_attr off the stack Device attributes are large, and are used in more than one place. Stash a copy in dynamically allocated memory. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>