[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100217.155512.109075614.davem@davemloft.net>
Date: Wed, 17 Feb 2010 15:55:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hadi@...erus.ca
Cc: adobriyan@...il.com, netdev@...r.kernel.org
Subject: Re: regression due to "flush SAD/SPD generate false events"
From: jamal <hadi@...erus.ca>
Date: Wed, 17 Feb 2010 18:49:13 -0500
> On Wed, 2010-02-17 at 15:40 -0800, David Miller wrote:
>
>> Please do, your changes are reverted so I need the whole
>> thing back.
>
> np.
> Q: Something odd i noticed when looking at pfkey (different behavior
> from netlink):
>
> pfkey_sendmsg() does at the end:
> return err ? : len;
>
> So if err was 0, it will always return the length which is
> 16 in the flush which was causing the EAGAIN Alexey saw. If i returned
> the correct error (ESRCH), it goes unfiltered.
> It sounds to me that should just unconditionaly return err, no?
I don't think any sendmsg() method should return 0 when something
was actually sent.
--
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