Replace the pointers in struct cg_proto with actual data fields and kill struct tcp_memcontrol as it is not fully redundant. This removes a confusing, unnecessary layer of abstraction. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			254 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			254 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _TCP_MEMCG_H
 | 
						|
#define _TCP_MEMCG_H
 | 
						|
 | 
						|
struct cg_proto *tcp_proto_cgroup(struct mem_cgroup *memcg);
 | 
						|
int tcp_init_cgroup(struct mem_cgroup *memcg, struct cgroup_subsys *ss);
 | 
						|
void tcp_destroy_cgroup(struct mem_cgroup *memcg);
 | 
						|
#endif /* _TCP_MEMCG_H */
 |