]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipv6: Copy cork options in ip6_append_data
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 5 Feb 2009 23:15:50 +0000 (15:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2009 23:15:50 +0000 (15:15 -0800)
commit0178b695fd6b40a62a215cbeb03dd51ada3bb5e0
tree122ac633fa8ad71ac58e7228efc51a639f44466a
parent12402b5b7a2aa7ebed246db4570a5eb905fe79ea
ipv6: Copy cork options in ip6_append_data

As the options passed to ip6_append_data may be ephemeral, we need
to duplicate it for corking.  This patch applies the simplest fix
which is to memdup all the relevant bits.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c