[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:
committed by
David S. Miller
parent
60e7663d46
commit
bdcde3d71a
@@ -34,8 +34,6 @@ static struct net_protocol udplite_protocol = {
|
||||
.netns_ok = 1,
|
||||
};
|
||||
|
||||
DEFINE_PROTO_INUSE(udplite)
|
||||
|
||||
struct proto udplite_prot = {
|
||||
.name = "UDP-Lite",
|
||||
.owner = THIS_MODULE,
|
||||
@@ -60,7 +58,6 @@ struct proto udplite_prot = {
|
||||
.compat_setsockopt = compat_udp_setsockopt,
|
||||
.compat_getsockopt = compat_udp_getsockopt,
|
||||
#endif
|
||||
REF_PROTO_INUSE(udplite)
|
||||
};
|
||||
|
||||
static struct inet_protosw udplite4_protosw = {
|
||||
|
Reference in New Issue
Block a user