__vlan_find_dev_deep() got an extra parameter in recent kernel versions.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 backport/backport-include/linux/if_vlan.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/backport/backport-include/linux/if_vlan.h 
b/backport/backport-include/linux/if_vlan.h
index 2d996fa..e2d77ef 100644
--- a/backport/backport-include/linux/if_vlan.h
+++ b/backport/backport-include/linux/if_vlan.h
@@ -8,6 +8,8 @@
 #define vlan_put_tag(__skb, __vlan_proto, __vlan_tci)          
vlan_put_tag(__skb, __vlan_tci)
 #define __vlan_hwaccel_put_tag(__skb, __vlan_proto, __vlan_tag)        
__vlan_hwaccel_put_tag(__skb, __vlan_tag)
 
+#define __vlan_find_dev_deep(__real_dev, __vlan_proto, __vlan_id) 
__vlan_find_dev_deep(__real_dev, __vlan_id) 
+
 static inline bool vlan_hw_offload_capable(netdev_features_t features,
                                           __be16 proto)
 {
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to