diff --git a/net/core/sock.c b/net/core/sock.c index 10605d2ec8606ad2860c88903aa2572bd914ab51..836bca6485f5c02bc5d47bcce489f02c968e725a 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -2564,7 +2564,7 @@ static char proto_method_implemented(const void *method) } static long sock_prot_memory_allocated(struct proto *proto) { - return proto->memory_allocated != NULL ? proto_memory_allocated(proto): -1L; + return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L; } static char *sock_prot_memory_pressure(struct proto *proto)