diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2018-04-26 17:18:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-27 14:02:52 -0400 |
commit | abb190f194d082cbb7520e692d78d3ddf050e7b1 (patch) | |
tree | cd5aa5a266ed465ffaf10810a058234d672fb8fe /net/smc/smc_rx.h | |
parent | net/smc: sockopts TCP_NODELAY and TCP_CORK (diff) | |
download | wireguard-linux-abb190f194d082cbb7520e692d78d3ddf050e7b1.tar.xz wireguard-linux-abb190f194d082cbb7520e692d78d3ddf050e7b1.zip |
net/smc: handle sockopt TCP_DEFER_ACCEPT
If sockopt TCP_DEFER_ACCEPT is set, the accept is delayed till
data is available.
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_rx.h')
-rw-r--r-- | net/smc/smc_rx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_rx.h b/net/smc/smc_rx.h index 3a32b59bf06c..0b75a6b470e6 100644 --- a/net/smc/smc_rx.h +++ b/net/smc/smc_rx.h @@ -20,5 +20,6 @@ void smc_rx_init(struct smc_sock *smc); int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, size_t len, int flags); +int smc_rx_wait_data(struct smc_sock *smc, long *timeo); #endif /* SMC_RX_H */ |