diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 22:19:26 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 22:19:26 -0500 |
commit | b4ad86bf52469b26148c677cb59d8bc81f129cc2 (patch) | |
tree | cca839f49a02ced2dd79c559e57beabd74fe0216 /arch | |
parent | 2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (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 'arch')
0 files changed, 0 insertions, 0 deletions