|
|
@@ -539,7 +539,7 @@ Signed-off-by: Yangbo Lu <[email protected]>
|
|
|
|
|
|
--- a/include/linux/netdevice.h
|
|
|
+++ b/include/linux/netdevice.h
|
|
|
-@@ -2344,7 +2344,8 @@ int register_netdevice_notifier(struct n
|
|
|
+@@ -2349,7 +2349,8 @@ int register_netdevice_notifier(struct n
|
|
|
int unregister_netdevice_notifier(struct notifier_block *nb);
|
|
|
|
|
|
struct netdev_notifier_info {
|
|
|
@@ -549,7 +549,7 @@ Signed-off-by: Yangbo Lu <[email protected]>
|
|
|
};
|
|
|
|
|
|
struct netdev_notifier_info_ext {
|
|
|
-@@ -2376,6 +2377,7 @@ static inline void netdev_notifier_info_
|
|
|
+@@ -2381,6 +2382,7 @@ static inline void netdev_notifier_info_
|
|
|
struct net_device *dev)
|
|
|
{
|
|
|
info->dev = dev;
|
|
|
@@ -557,7 +557,7 @@ Signed-off-by: Yangbo Lu <[email protected]>
|
|
|
}
|
|
|
|
|
|
static inline struct net_device *
|
|
|
-@@ -2384,6 +2386,12 @@ netdev_notifier_info_to_dev(const struct
|
|
|
+@@ -2389,6 +2391,12 @@ netdev_notifier_info_to_dev(const struct
|
|
|
return info->dev;
|
|
|
}
|
|
|
|