From: Herbert Xu Date: Thu, 5 Feb 2009 23:15:50 +0000 (-0800) Subject: ipv6: Copy cork options in ip6_append_data X-Git-Tag: v2.6.27.18~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ba9033969ce046f54dee30b16aeb04d6a40aed;p=pandora-kernel.git ipv6: Copy cork options in ip6_append_data [ Upstream commit 0178b695fd6b40a62a215cbeb03dd51ada3bb5e0 ] 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed