From: Johannes Berg Date: Thu, 21 Nov 2013 17:17:04 +0000 (+0100) Subject: genetlink: fix genlmsg_multicast() bug X-Git-Tag: v3.13-rc1~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220815a9665f7deca98a09ecca655044f94cfa44;p=pandora-kernel.git genetlink: fix genlmsg_multicast() bug Unfortunately, I introduced a tremendously stupid bug into genlmsg_multicast() when doing all those multicast group changes: it adjusts the group number, but then passes it to genlmsg_multicast_netns() which does that again. Somehow, my tests failed to catch this, so add a warning into genlmsg_multicast_netns() and remove the offending group ID adjustment. Also add a warning to the similar code in other functions so people who misuse them are more loudly warned. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed