mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +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
|
@ -999,8 +999,6 @@ void udp6_proc_exit(struct net *net) {
|
|||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
||||
DEFINE_PROTO_INUSE(udpv6)
|
||||
|
||||
struct proto udpv6_prot = {
|
||||
.name = "UDPv6",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -1027,7 +1025,6 @@ struct proto udpv6_prot = {
|
|||
.compat_setsockopt = compat_udpv6_setsockopt,
|
||||
.compat_getsockopt = compat_udpv6_getsockopt,
|
||||
#endif
|
||||
REF_PROTO_INUSE(udpv6)
|
||||
};
|
||||
|
||||
static struct inet_protosw udpv6_protosw = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue