|
@@ -71,7 +71,6 @@
|
|
#include <linux/init.h>
|
|
#include <linux/init.h>
|
|
#include <linux/list.h>
|
|
#include <linux/list.h>
|
|
#include <linux/slab.h>
|
|
#include <linux/slab.h>
|
|
-#include <linux/prefetch.h>
|
|
|
|
#include <linux/export.h>
|
|
#include <linux/export.h>
|
|
#include <net/net_namespace.h>
|
|
#include <net/net_namespace.h>
|
|
#include <net/ip.h>
|
|
#include <net/ip.h>
|
|
@@ -1761,10 +1760,8 @@ static struct leaf *leaf_walk_rcu(struct tnode *p, struct rt_trie_node *c)
|
|
if (!c)
|
|
if (!c)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- if (IS_LEAF(c)) {
|
|
|
|
- prefetch(rcu_dereference_rtnl(p->child[idx]));
|
|
|
|
|
|
+ if (IS_LEAF(c))
|
|
return (struct leaf *) c;
|
|
return (struct leaf *) c;
|
|
- }
|
|
|
|
|
|
|
|
/* Rescan start scanning in new node */
|
|
/* Rescan start scanning in new node */
|
|
p = (struct tnode *) c;
|
|
p = (struct tnode *) c;
|