diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 19:19:26 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 19:19:26 -0800 |
commit | b4ad86bf52469b26148c677cb59d8bc81f129cc2 (patch) | |
tree | cca839f49a02ced2dd79c559e57beabd74fe0216 /scripts | |
parent | 2b5f6dcce5bf94b9b119e9ed8d537098ec61c3d2 (diff) | |
download | op-kernel-dev-b4ad86bf52469b26148c677cb59d8bc81f129cc2.zip op-kernel-dev-b4ad86bf52469b26148c677cb59d8bc81f129cc2.tar.gz |
[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')
0 files changed, 0 insertions, 0 deletions