[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080117.014458.16733544.davem@davemloft.net>
Date: Thu, 17 Jan 2008 01:44:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: herbert@...dor.apana.org.au, hadi@...erus.ca,
netdev@...r.kernel.org
Subject: Re: [RFC][PATCH] Fixing SA/SP dumps on netlink/af_key
From: Timo_Teräs <timo.teras@....fi>
Date: Thu, 17 Jan 2008 11:38:13 +0200
> The af_key issue is that in big dumps you get only first X
> entries. The rest of the entries are dropped because the
> socket receive buffer goes full. You get data corruption:
> missing entries.
This is an inherent aspect of AF_KEY (and what it was
derived from, BSD routing sockets).
It has to provide dumps atomically, and if there is no
space there is no way to provide those entries which
would require more rcvbuf space.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists