[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-backports
Subject: [PATCH 1/3] backports: add backport for netdev_notifier_info_to_dev()
From: Hauke Mehrtens <hauke () hauke-m ! de>
Date: 2013-05-31 19:15:22
Message-ID: 1370027724-22627-1-git-send-email-hauke () hauke-m ! de
[Download RAW message or body]
This adds a backport for the following commit in mainline:
commit 351638e7deeed2ec8ce451b53d33921b3da68f83
Author: Jiri Pirko <jiri@resnulli.us>
Date: Tue May 28 01:30:21 2013 +0000
net: pass info struct via netdevice notifier
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
backport/backport-include/linux/netdevice.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h
index 815c8b4..e405c6c 100644
--- a/backport/backport-include/linux/netdevice.h
+++ b/backport/backport-include/linux/netdevice.h
@@ -467,4 +467,8 @@ struct net *dev_net(const struct net_device *dev)
}
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
+#define netdev_notifier_info_to_dev(ndev) ndev
+#endif
+
#endif /* __BACKPORT_NETDEVICE_H */
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic