From: Patrick McHardy Date: Fri, 8 Feb 2008 01:56:34 +0000 (-0800) Subject: [NETFILTER]: nf_conntrack: fix ct_extend ->move operation X-Git-Tag: v2.6.25-rc1~45^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86577c661bc01d5c4e477d74567df4470d6c5138;p=pandora-kernel.git [NETFILTER]: nf_conntrack: fix ct_extend ->move operation The ->move operation has two bugs: - It is called with the same extension as source and destination, so it doesn't update the new extension. - The address of the old extension is calculated incorrectly, instead of (void *)ct->ext + ct->ext->offset[i] it uses ct->ext + ct->ext->offset[i]. Fixes a crash on x86_64 reported by Chuck Ebbert and Thomas Woerner . Tested-by: Thomas Woerner Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed