From: David Lebrun <david.leb...@uclouvain.be> Date: Thu, 12 Jan 2017 21:30:01 +0100
> When CONFIG_PREEMPT=y, CONFIG_IPV6=m and CONFIG_SEG6_HMAC=y, > seg6_hmac_init() is called during the initialization of the ipv6 module. > This causes a subsequent call to smp_processor_id() with preemption > enabled, resulting in the following trace. ... > Moreover, dst_cache_* functions also call smp_processor_id(), generating > a similar trace. > > This patch uses raw_cpu_ptr() in seg6_hmac_init() rather than this_cpu_ptr() > and disable preemption when using dst_cache_* functions. > > Signed-off-by: David Lebrun <david.leb...@uclouvain.be> Applied, thanks.