diff options
author | Dust Li <dust.li@linux.alibaba.com> | 2022-03-01 12:43:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-01 17:25:12 +0300 |
commit | b70a5cc045197aad9c159042621baf3c015f6cc7 (patch) | |
tree | 2a9558e0e10ac1acb012b7a32d5fd3e93c61288d /net/smc/smc_pnet.h | |
parent | 12bbb0d163a90d81a2677cf7808d364697290207 (diff) | |
download | linux-b70a5cc045197aad9c159042621baf3c015f6cc7.tar.xz |
net/smc: send directly on setting TCP_NODELAY
In commit ea785a1a573b("net/smc: Send directly when
TCP_CORK is cleared"), we don't use delayed work
to implement cork.
This patch use the same algorithm, removes the
delayed work when setting TCP_NODELAY and send
directly in setsockopt(). This also makes the
TCP_NODELAY the same as TCP.
Cc: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: Dust Li <dust.li@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_pnet.h')
0 files changed, 0 insertions, 0 deletions