]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4]: RT_CACHE_STAT_INC() warning fix
authorAndrew Morton <akpm@osdl.org>
Wed, 18 Jan 2006 05:58:01 +0000 (21:58 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 18 Jan 2006 06:46:49 +0000 (22:46 -0800)
commit5954d6a7af10071f4a59f85d6b98a6df87648747
tree81214471e4f7510d4231020cacf2a52cf43d7715
parent79590df5c6250b2d3a0e4a4aeee69ebcf37d3257
[IPV4]: RT_CACHE_STAT_INC() warning fix

BUG: using smp_processor_id() in preemptible [00000001] code: rpc.statd/2408

And it _is_ a bug, but I guess we don't care enough to add preempt_disable().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c