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-05-14 19:23:27 -05:00
2008-06-17 16:20:06 -07:00
2008-06-11 21:00:38 -07:00
2008-07-05 23:38:43 -07:00
2008-07-16 20:20:11 -07:00
2008-07-16 20:22:25 -07:00
2008-06-11 21:00:38 -07:00
2008-07-05 21:25:39 -07:00
2008-07-08 03:23:36 -07:00
2008-06-11 21:00:38 -07:00