~dmitriy-kuptsov/hipl/multipath

Viewing all changes in revision 5526.

  • Committer: Rene Hummen
  • Date: 2011-01-17 12:09:48 UTC
  • Revision ID: rene.hummen@cs.rwth-aachen.de-20110117120948-xv2q88glf7job0yu
fix and unify handling of IPsec SAs and SPs

- unify setup and update of IPsec SAs and SPs by using
  hip_create_or_update_security_associations_and_sp()
- remove redundant code
- add const correctness
- remove updating of SAs and SPs, as IPsec state is removed before
  update and as it was used incorrectly (SP update during BEX) before

NOTE: These changes have been reviewed at
      https://code.launchpad.net/~hipl-core/hipl/ipsec-cleanup/+merge/46144.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: