Re: [PATCH v3 net 0/5] ipv6: Fix dst_entry refcnt bugs in ip6_tunnel

David Miller
2015-09-15T02:56:39Z

From: David Miller <davem@davemloft.net>
Date: Mon, 14 Sep 2015 19:49:25 -0700 (PDT)

> Series applied, thanks Martin.

Actually, reverted, this doesn't even compile :-/

In file included from include/linux/srcu.h:33:0,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:812,
from include/linux/gfp.h:5,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from net/ipv6/ip6_tunnel.c:23:
net/ipv6/ip6_tunnel.c: In function ‘ip6_tnl_per_cpu_dst_set’:
net/ipv6/ip6_tunnel.c:135:35: error: invalid type argument of ‘->’ (have ‘seqlock_t’)
lockdep_is_held(&idst->lock->lock)));
^
include/linux/rcupdate.h:569:52: note: in definition of macro ‘RCU_LOCKDEP_WARN’
if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
^
include/linux/rcupdate.h:787:2: note: in expansion of macro ‘__rcu_dereference_protected’
__rcu_dereference_protected((p), (c), __rcu)
^
net/ipv6/ip6_tunnel.c:133:14: note: in expansion of macro ‘rcu_dereference_protected’
dst_release(rcu_dereference_protected(
^
net/ipv6/ip6_tunnel.c:135:8: note: in expansion of macro ‘lockdep_is_held’
lockdep_is_held(&idst->lock->lock)));
^