Re: xfrm_user reliability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 07, 2003 at 03:51:05AM -0700, David S. Miller wrote:
> 
> Another possibility is to do a "yield() until memory available" like
> net/ipv4/tcp_output.c:tcp_send_fin() does.

OK.

> Really, this netlink_ack() case should absolutely fail rarely.
> We are talking about at worst a single page allocation to satisfy
> this request and for GFP_KERNEL this is all but guarenteed.

Yes but some people are paranoid :)

On the other hand if you VPN server with thousands of connections
gets stuck because nothing was returned from the NETLINK socket...
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux