From: Patrick McHardy Date: Fri, 26 Feb 2010 06:34:51 +0000 (+0000) Subject: rtnetlink: handle rtnl_link netlink notifications manually X-Git-Tag: v2.6.34-rc1~233^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2835763e130c343ace5320c20d33c281e7097b7;p=pandora-kernel.git rtnetlink: handle rtnl_link netlink notifications manually In order to support specifying device flags during device creation, we must be able to roll back device registration in case setting the flags fails without sending any notifications related to the device to userspace. This patch changes rollback_registered_many() and register_netdevice() to manually send netlink notifications for devices not handled by rtnl_link and allows to defer notifications for devices handled by rtnl_link until setup is complete. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed