diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2014-08-01 09:50:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-14 09:24:16 +0800 |
commit | 87c64964c0f424ec6b992f4d81516d698eb0a413 (patch) | |
tree | 8e3ccd5ea5f98463b93105f5d180bdb1f75071d1 /usr | |
parent | ff0adae5df0ff94592f03f84c952e624f0945a7c (diff) | |
download | linux-3.10-87c64964c0f424ec6b992f4d81516d698eb0a413.tar.gz linux-3.10-87c64964c0f424ec6b992f4d81516d698eb0a413.tar.bz2 linux-3.10-87c64964c0f424ec6b992f4d81516d698eb0a413.zip |
sparc64: ldc_connect() should not return EINVAL when handshake is in progress.
[ Upstream commit 4ec1b01029b4facb651b8ef70bc20a4be4cebc63 ]
The LDC handshake could have been asynchronously triggered
after ldc_bind() enables the ldc_rx() receive interrupt-handler
(and thus intercepts incoming control packets)
and before vio_port_up() calls ldc_connect(). If that is the case,
ldc_connect() should return 0 and let the state-machine
progress.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Karl Volz <karl.volz@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions