lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240912144240.8635-1-shaozhengchao@163.com>
Date: Thu, 12 Sep 2024 22:42:40 +0800
From: Zhengchao Shao <shaozhengchao@....com>
To: netdev@...r.kernel.org,
	linux-s390@...r.kernel.org,
	davem@...emloft.net,
	edumazet@...gle.com,
	kuba@...nel.org,
	pabeni@...hat.com
Cc: wenjia@...ux.ibm.com,
	jaka@...ux.ibm.com,
	alibuda@...ux.alibaba.com,
	tonylu@...ux.alibaba.com,
	guwen@...ux.alibaba.com,
	shaozhengchao@....com
Subject: [PATCH net-next] net/smc: remove useless macros in smc_close.h

After commit 51f1de79ad8e("net/smc: replace sock_put worker by
socket refcounting") is merged, SMC-COSES_SOCK_PUT_DELAY is no
longer used. So, remove it.

Signed-off-by: Zhengchao Shao <shaozhengchao@....com>
---
 net/smc/smc_close.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/smc/smc_close.h b/net/smc/smc_close.h
index 634fea2b7c95..9baee2eafc3b 100644
--- a/net/smc/smc_close.h
+++ b/net/smc/smc_close.h
@@ -17,7 +17,6 @@
 #include "smc.h"
 
 #define SMC_MAX_STREAM_WAIT_TIMEOUT		(2 * HZ)
-#define SMC_CLOSE_SOCK_PUT_DELAY		HZ
 
 void smc_close_wake_tx_prepared(struct smc_sock *smc);
 int smc_close_active(struct smc_sock *smc);
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ