From: Andreas Steffen Date: Tue, 4 Nov 2008 22:49:19 +0000 (-0800) Subject: xfrm: Have af-specific init_tempsel() initialize family field of temporary selector X-Git-Tag: v2.6.28-rc4~22^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79654a7698195fa043063092f5c1ca5245276fba;p=pandora-kernel.git xfrm: Have af-specific init_tempsel() initialize family field of temporary selector While adding MIGRATE support to strongSwan, Andreas Steffen noticed that the selectors provided in XFRM_MSG_ACQUIRE have their family field uninitialized (those in MIGRATE do have their family set). Looking at the code, this is because the af-specific init_tempsel() (called via afinfo->init_tempsel() in xfrm_init_tempsel()) do not set the value. Reported-by: Andreas Steffen Acked-by: Herbert Xu Signed-off-by: Arnaud Ebalard --- Reading git-diff-tree failed