]> 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)
commit45159abdee8809576880edb8c56052f1a309fde5
tree9ab133d4307f2d273a571565d62e2dd7695c4e81
parentf155ea4e5103b54c0f547c9c5edd06d8f9a8a8ef
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