From: Eric Dumazet Date: Sun, 6 Jun 2010 22:34:40 +0000 (-0700) Subject: ip6mr: fix a typo in ip6mr_for_each_table() X-Git-Tag: v2.6.35-rc3~15^2~5 X-Git-Url: http://bbs.cooldavid.org/git/?a=commitdiff_plain;h=8ffb335e8d696affc04f963bf73ce2196f80edb9;p=net-next-2.6.git ip6mr: fix a typo in ip6mr_for_each_table() Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 073071f2b75..89c0b077c7a 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -120,7 +120,7 @@ static void mroute_clean_tables(struct mr6_table *mrt); static void ipmr_expire_process(unsigned long arg); #ifdef CONFIG_IPV6_MROUTE_MULTIPLE_TABLES -#define ip6mr_for_each_table(mrt, met) \ +#define ip6mr_for_each_table(mrt, net) \ list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list) static struct mr6_table *ip6mr_get_table(struct net *net, u32 id)