linux/net
Chuck Lever c5a4dd8b7c SUNRPC: Eliminate side effects from rpc_malloc
Currently rpc_malloc sets req->rq_buffer internally.  Make this a more
generic interface:  return a pointer to the new buffer (or NULL) and
make the caller set req->rq_buffer and req->rq_bufsize.  This looks much
more like kmalloc and eliminates the side effects.

To fix a potential deadlock, this patch also replaces GFP_NOFS with
GFP_NOWAIT in rpc_malloc.  This prevents async RPCs from sleeping outside
the RPC's task scheduler while allocating their buffer.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-04-30 22:17:11 -07:00
..
802
8021q
appletalk [NET]: Revert sk_buff walker cleanups. 2007-04-27 15:21:23 -07:00
atm [NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net 2007-04-26 01:37:44 -07:00
ax25
bluetooth [BLUETOOTH] rfcomm_worker(): fix wakeup race 2007-04-26 01:41:01 -07:00
bridge [BRIDGE]: Missing rtnl. 2007-04-25 22:30:04 -07:00
core [NET]: Remove NETIF_F_INTERNAL_STATS, default to internal stats. 2007-04-28 21:04:03 -07:00
dccp [NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net 2007-04-26 01:37:44 -07:00
decnet
econet
ethernet
ieee80211 [PATCH] ieee80211: add missing global needed by IEEE80211_DEBUG_XXXX 2007-04-28 11:01:05 -04:00
ipv4 [UDP]: Do not allow specific bind when wildcard bind exists. 2007-04-30 14:51:58 -07:00
ipv6 [IPV6]: Fix slab corruption running ip6sic 2007-04-28 21:26:23 -07:00
ipx
irda [IRDA] irda_device_dongle_init: fix kzalloc(GFP_KERNEL) in spinlock 2007-04-26 01:36:49 -07:00
iucv [AF_IUCV/IUCV]: smp_call_function deadlock 2007-04-28 23:03:59 -07:00
key
lapb
llc
netfilter [NETLINK]: Possible cleanups. 2007-04-26 00:57:41 -07:00
netlabel SELinux: extract the NetLabel SELinux support from the security server 2007-04-26 01:35:48 -04:00
netlink [NETLINK]: Possible cleanups. 2007-04-26 00:57:41 -07:00
netrom
packet
rose
rxrpc [AF_RXRPC/AFS]: Arch-specific fixes. 2007-04-27 15:28:45 -07:00
sched
sctp [SCTP]: Fix sctp_getsockopt_local_addrs_old() to use local storage. 2007-04-28 21:09:04 -07:00
sunrpc SUNRPC: Eliminate side effects from rpc_malloc 2007-04-30 22:17:11 -07:00
tipc [TIPC]: Enhancements to msg_set_bits() routine 2007-04-25 22:29:49 -07:00
unix
wanrouter
wireless [WIRELESS] cfg80211: Clarify locking comment. 2007-04-26 20:51:12 -07:00
x25
xfrm [XFRM]: Restrict upper layer information by bundle. 2007-04-30 00:58:09 -07:00
compat.c
Kconfig [AF_RXRPC]: Provide secure RxRPC sockets for use by userspace and kernel both 2007-04-26 15:48:28 -07:00
Makefile [AF_RXRPC]: Provide secure RxRPC sockets for use by userspace and kernel both 2007-04-26 15:48:28 -07:00
nonet.c
socket.c
sysctl_net.c
TUNABLE