Files
i2som-imx-linux/include/net
Wei Wang 58ca58151b ipv6: fix sparse warning on rt6i_node
commit 4e587ea71b upstream.

Commit c5cff8561d adds rcu grace period before freeing fib6_node. This
generates a new sparse warning on rt->rt6i_node related code:
  net/ipv6/route.c:1394:30: error: incompatible types in comparison
  expression (different address spaces)
  ./include/net/ip6_fib.h:187:14: error: incompatible types in comparison
  expression (different address spaces)

This commit adds "__rcu" tag for rt6i_node and makes sure corresponding
rcu API is used for it.
After this fix, sparse no longer generates the above warning.

Fixes: c5cff8561d ("ipv6: add rcu grace period before freeing fib6_node")
Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2:
 - fib6_add_rt2node() has only one assignment to update
 - Drop changes in rt6_cache_allowed_for_pmtu()
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-11-11 13:34:35 +00:00
..
2011-08-13 01:10:16 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2013-03-06 03:24:21 +00:00
2014-09-13 23:41:48 +01:00
2015-08-07 00:32:16 +01:00
2014-09-13 23:41:48 +01:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2014-11-05 20:27:38 +00:00
2014-09-13 23:41:48 +01:00
2011-06-11 16:23:59 -07:00
2017-03-16 02:18:53 +00:00