From: David S. Miller Date: Mon, 4 Dec 2006 03:19:26 +0000 (-0800) Subject: [XFRM] xfrm_user: Better validation of user templates. X-Git-Tag: v2.6.20-rc1~34^2~40^2~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ad86bf52469b26148c677cb59d8bc81f129cc2;p=pandora-kernel.git [XFRM] xfrm_user: Better validation of user templates. Since we never checked the ->family value of templates before, many applications simply leave it at zero. Detect this and fix it up to be the pol->family value. Also, do not clobber xp->family while reading in templates, that is not necessary. Signed-off-by: David S. Miller --- Reading git-diff-tree failed