Pavel Emelyanov 5c52ba170f sock: add net to prot->enter_memory_pressure callback
The tcp_enter_memory_pressure calls NET_INC_STATS, but doesn't
have where to get the net from.

I decided to add a sk argument, not the net itself, only to factor
all the required sock_net(sk) calls inside the enter_memory_pressure 
callback itself.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-16 20:28:10 -07:00
..
2008-07-16 20:21:42 -07:00
2008-07-16 20:20:11 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:20:11 -07:00
2008-07-16 20:20:33 -07:00
2008-07-16 20:20:11 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:20:11 -07:00
2008-03-06 16:22:02 -08:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-07-16 20:20:11 -07:00
2008-05-01 08:03:58 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:22:25 -07:00
2008-07-16 20:22:25 -07:00
2008-07-16 20:22:04 -07:00
2008-07-10 16:51:32 -07:00
2008-07-16 20:20:11 -07:00
2008-06-11 21:00:38 -07:00
2008-03-26 16:51:09 -07:00
2008-03-26 16:51:09 -07:00