projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb631a6
)
tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key
author
Christoph Hellwig
<hch@lst.de>
Thu, 10 Mar 2022 14:32:29 +0000
(15:32 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Sat, 12 Mar 2022 06:51:40 +0000
(22:51 -0800)
Both functions are only used by core networking code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link:
https://lore.kernel.org/r/20220310143229.895319-1-hch@lst.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_cong.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_cong.c
b/net/ipv4/tcp_cong.c
index db5831e6c136acfcb28a5bbf6c585635bb7a0482..dc95572163df322c97bd7181c420c1ceb6355eec 100644
(file)
--- a/
net/ipv4/tcp_cong.c
+++ b/
net/ipv4/tcp_cong.c
@@
-135,7
+135,6
@@
u32 tcp_ca_get_key_by_name(struct net *net, const char *name, bool *ecn_ca)
return key;
}
-EXPORT_SYMBOL_GPL(tcp_ca_get_key_by_name);
char *tcp_ca_get_name_by_key(u32 key, char *buffer)
{
@@
-151,7
+150,6
@@
char *tcp_ca_get_name_by_key(u32 key, char *buffer)
return ret;
}
-EXPORT_SYMBOL_GPL(tcp_ca_get_name_by_key);
/* Assign choice of congestion control. */
void tcp_assign_congestion_control(struct sock *sk)