Re: [RFC] IP_RECVERRC
From: Andi Kleen <hidden>
Date: 2007-08-10 14:02:16
On Fri, Aug 10, 2007 at 09:35:12AM -0400, jamal wrote:
It seems there are a lot of dumbass apps (latest i have found is iperf when analyzing batching results) out there whose performance is affected if they dont set IP_RECVERR.
Affected in what way?
If you set that option though you end up getting all these skbs back
IP_RECVERR just delivers ICMPs. Do you mean those with "all these skbs" ?
to the app which i see as unnecessary work if i am uninterested. I would like to not do a recvmsg to find out what those messages are - rather just receiving any errors back. My proposal is to add another option which is mutually exclusive with IP_RECVERR that allows for errors only.
What ICMPs do you not want? -Andi