[UDP6]: Fix flowi clobbering
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 3 Oct 2006 21:34:00 +0000 (14:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 4 Oct 2006 07:30:59 +0000 (00:30 -0700)
The udp6_sendmsg function uses a shared buffer to store the
flow without taking any locks.  This leads to races with SMP.
This patch moves the flowi object onto the stack.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found