Skip to contentSkip to conversation

linux-next: build warning after merge of the net tree

DISCUSSION Stephen Rothwell 1 participant 1 message Aug 22, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

net/ipv6/route.c: In function 'rt6_check':
net/ipv6/route.c:1294:43: warning: 'rt_cookie' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!rt6_get_cookie_safe(rt, &rt_cookie) || rt_cookie != cookie)

                                           ^

Introduced by commit

c5cff8561d2d ("ipv6: add rcu grace period before freeing fib6_node")

Signature · 2 lines
Cheers,
Stephen Rothwell