Re: [PATCH] IRDA: Fix genlmsg_put() return value check.
From: Julius Volz <hidden>
Date: 2008-06-24 09:18:13
From: Julius Volz <hidden>
Date: 2008-06-24 09:18:13
On Tue, Jun 24, 2008, Patrick McHardy wrote:
Yes, all those should be using ENOSPC as well. nl80211 returns inconsistent errors currently (-1/EMSGSIZE), but doesn't propagate them back to userspace. That should probably be fixed as well. Actually I was wrong, its EMSGSIZE, not ENOSPC that should be returned, its more fitting and what other netlink users do as well.
Thanks, I will use that then! Julius -- Google Switzerland GmbH