[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131128.182702.413058319099526285.davem@davemloft.net>
Date: Thu, 28 Nov 2013 18:27:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: netdev@...r.kernel.org, anil_ravindranath@...-sierra.com,
JBottomley@...allels.com, linux-scsi@...r.kernel.org,
johannes.berg@...el.com
Subject: Re: [PATCH 3.13] genetlink/pmcraid: use proper genetlink multicast
API
From: Johannes Berg <johannes@...solutions.net>
Date: Sun, 24 Nov 2013 21:09:26 +0100
> From: Johannes Berg <johannes.berg@...el.com>
>
> The pmcraid driver is abusing the genetlink API and is using its
> family ID as the multicast group ID, which is invalid and may
> belong to somebody else (and likely will.)
>
> Make it use the correct API, but since this may already be used
> as-is by userspace, reserve a family ID for this code and also
> reserve that group ID to not break userspace assumptions.
>
> My previous patch broke event delivery in the driver as I missed
> that it wasn't using the right API and forgot to update it later
> in my series.
>
> While changing this, I noticed that the genetlink code could use
> the static group ID instead of a strcmp(), so also do that for
> the VFS_DQUOT family.
>
> Cc: Anil Ravindranath <anil_ravindranath@...-sierra.com>
> Cc: "James E.J. Bottomley" <JBottomley@...allels.com>
> Signed-off-by: Johannes Berg <johannes.berg@...el.com>
Applied, thanks Johannes.
--
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