summaryrefslogtreecommitdiff
path: root/net/bridge/br_sysfs_br.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-06-29 17:53:35 (GMT)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-07-11 19:50:43 (GMT)
commit3d4cf35bd4fab56c3aa0ec4323fccb24970aaf79 (patch)
tree320f7686025dd43b0470f75ac44ef37dc5eb090c /net/bridge/br_sysfs_br.c
parentb54054ca5590f59469437fc4a78a978edcb01c31 (diff)
downloadlinux-3d4cf35bd4fab56c3aa0ec4323fccb24970aaf79.tar.xz
xprtrdma: Reply buffer exhaustion can be catastrophic
Not having an rpcrdma_rep at call_allocate time can be a problem. It means that send_request can't post a receive buffer to catch the RPC's reply. Possible consequences are RPC timeouts or even transport deadlock. Instead of allowing an RPC to proceed if an rpcrdma_rep is not available, return NULL to force call_allocate to wait and try again. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/bridge/br_sysfs_br.c')
0 files changed, 0 insertions, 0 deletions