mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
[SOCK]: Drop inuse pcounter from struct proto (v2).
An uppercut - do not use the pcounter on struct proto. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
60e7663d46
commit
bdcde3d71a
12 changed files with 0 additions and 41 deletions
|
@ -2451,8 +2451,6 @@ void tcp4_proc_exit(void)
|
|||
}
|
||||
#endif /* CONFIG_PROC_FS */
|
||||
|
||||
DEFINE_PROTO_INUSE(tcp)
|
||||
|
||||
struct proto tcp_prot = {
|
||||
.name = "TCP",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -2488,7 +2486,6 @@ struct proto tcp_prot = {
|
|||
.compat_setsockopt = compat_tcp_setsockopt,
|
||||
.compat_getsockopt = compat_tcp_getsockopt,
|
||||
#endif
|
||||
REF_PROTO_INUSE(tcp)
|
||||
};
|
||||
|
||||
void __init tcp_v4_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue