On Wed, Nov 01, 2000 at 11:58:26AM -0800, Mesnier, Michael wrote: > To the TCP maintainer: > > It appears that tcp.c:1029 is ignoring sk->allocation, as all the call to > tcp_alloc_skb() has GFP_KERNEL hardcoded. We are developing modules that use > TCP/IP, and therefore set sk->allocation to GFP_ATOMIC. With this value > getting ignored in tcp.c, the kernel eventually hangs when there is no > available memory. That should be already fixed in the working tree on vger and appear in official releases soon. But what do you need it for (just curious) ? Are you calling it from a block IO driver ? In this case you should probably use GFP_BUFFER, not GFP_ATOMIC. -Andi - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org