backports: revert rename of __vlan_find_dev_deep()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2014 14:08:55 +0000 (16:08 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jun 2014 18:35:01 +0000 (20:35 +0200)
This function was renamed in this commit in mainline linux:
commit f06c7f9f92295faf701a9628b383156c4efb6119
Author: dingtianhong <dingtianhong@huawei.com>
Date:   Fri May 9 14:58:05 2014 +0800

    vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu()

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/if_vlan.h

index 6fae1507117892d65e238cfbee7ad82b81bfbd55..7d39d524f92463e45ff9bcc96d0b67567357e032 100644 (file)
@@ -20,4 +20,8 @@
 #define VLAN_PRIO_SHIFT                13
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)
+#define __vlan_find_dev_deep_rcu(real_dev, vlan_proto, vlan_id) __vlan_find_dev_deep(real_dev, vlan_proto, vlan_id)
+#endif
+
 #endif /* __BACKPORT_LINUX_IF_VLAN_H_ */