Searched hist:"220815 a9665f7deca98a09ecca655044f94cfa44" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/ |
H A D | genetlink.h | diff 220815a9665f7deca98a09ecca655044f94cfa44 Thu Nov 21 11:17:04 CST 2013 Johannes Berg <johannes.berg@intel.com> 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 <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/netlink/ |
H A D | genetlink.c | diff 220815a9665f7deca98a09ecca655044f94cfa44 Thu Nov 21 11:17:04 CST 2013 Johannes Berg <johannes.berg@intel.com> 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 <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|