]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: add receive timeout check
authorHans Wippel <hwippel@linux.vnet.ibm.com>
Thu, 21 Sep 2017 07:16:27 +0000 (09:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:31:02 +0000 (15:31 -0700)
commit76418fcc0bdbd9288fa93604603c4e523c82993e
tree9ab133d4307f2d273a571565d62e2dd7695c4e81
parentb3c0f2f723665fa1d73c0ba4dfabe7245effe58c
net/smc: add receive timeout check

The SMC receive function currently lacks a timeout check under the
condition that no data were received and no data are available. This
patch adds such a check.

Signed-off-by: Hans Wippel <hwippel@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_rx.c