Home
last modified time | relevance | path

Searched hist:"5 c52ba170f8167511bdb65b981f4582100c40675" (Results 1 – 5 of 5) sorted by relevance

/linux/net/sctp/
H A Dsocket.cdiff 5c52ba170f8167511bdb65b981f4582100c40675 Thu Jul 17 05:28:10 CEST 2008 Pavel Emelyanov <xemul@openvz.org> 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>
/linux/include/net/
H A Dtcp.hdiff 5c52ba170f8167511bdb65b981f4582100c40675 Thu Jul 17 05:28:10 CEST 2008 Pavel Emelyanov <xemul@openvz.org> 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>
H A Dsock.hdiff 5c52ba170f8167511bdb65b981f4582100c40675 Thu Jul 17 05:28:10 CEST 2008 Pavel Emelyanov <xemul@openvz.org> 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>
/linux/net/core/
H A Dsock.cdiff 5c52ba170f8167511bdb65b981f4582100c40675 Thu Jul 17 05:28:10 CEST 2008 Pavel Emelyanov <xemul@openvz.org> 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>
/linux/net/ipv4/
H A Dtcp.cdiff 5c52ba170f8167511bdb65b981f4582100c40675 Thu Jul 17 05:28:10 CEST 2008 Pavel Emelyanov <xemul@openvz.org> 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>