kernel_optimize_test/net/core
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
..
datagram.c
dev_mcast.c netdev: Do not use TX lock to protect address lists. 2008-07-15 00:15:08 -07:00
dev.c netdev: Do not use TX lock to protect address lists. 2008-07-15 00:15:08 -07:00
dst.c
ethtool.c netdev: Add support for rx flow hash configuration, using ethtool. 2008-07-02 03:47:41 -07:00
fib_rules.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-07-05 23:08:07 -07:00
filter.c net: Tyop of sk_filter() comment 2008-07-01 19:55:40 -07:00
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c net: Clean up explicit ->tx_queue references in link watch. 2008-07-08 23:01:06 -07:00
Makefile
neighbour.c
net_namespace.c netns: Don't receive new packets in a dead network namespace. 2008-06-20 22:16:51 -07:00
net-sysfs.c wext: make sysfs bits optional and deprecate them 2008-07-14 14:52:57 -04:00
net-sysfs.h
netevent.c
netpoll.c
pktgen.c
request_sock.c
rtnetlink.c netdev: Move rest of qdisc state into struct netdev_queue 2008-07-08 17:42:10 -07:00
scm.c
skbuff.c net: make __skb_splice_bits static 2008-07-16 20:12:30 -07:00
sock.c sock: add net to prot->enter_memory_pressure callback 2008-07-16 20:28:10 -07:00
stream.c
sysctl_net_core.c
user_dma.c
utils.c