aboutsummaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 19:19:26 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 19:19:26 -0800
commitb4ad86bf52469b26148c677cb59d8bc81f129cc2 (patch)
treecca839f49a02ced2dd79c559e57beabd74fe0216 /scripts/mod
parent2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (diff)
[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>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions