diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-10-03 14:34:00 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-04 00:30:59 -0700 |
commit | 132a55f3c5c0b1a364d32f65595ad8838c30a60e (patch) | |
tree | 587a0dc800b4f40fc74d3541615d2498cc44c6b8 /net/ipv4/udp.c | |
parent | 81771b3b20fb4e98c6f2b2aac2bc10ed41a8f006 (diff) | |
download | op-kernel-dev-132a55f3c5c0b1a364d32f65595ad8838c30a60e.zip op-kernel-dev-132a55f3c5c0b1a364d32f65595ad8838c30a60e.tar.gz |
[UDP6]: Fix flowi clobbering
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>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions