Home
last modified time | relevance | path

Searched hist:b4ad86bf52469b26148c677cb59d8bc81f129cc2 (Results 1 – 1 of 1) sorted by relevance

/linux/net/xfrm/
H A Dxfrm_user.cdiff b4ad86bf52469b26148c677cb59d8bc81f129cc2 Mon Dec 04 04:19:26 CET 2006 David S. Miller <davem@sunset.davemloft.net> [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 <davem@davemloft.net>