1. 01 Jul, 2003 7 commits
  2. 02 Jul, 2003 1 commit
  3. 01 Jul, 2003 1 commit
  4. 30 Jun, 2003 24 commits
  5. 29 Jun, 2003 4 commits
  6. 30 Jun, 2003 3 commits
    • James Morris's avatar
      Merge intercode.com.au:/home/jmorris/bk/net/ipsec-2.5 · cc621e11
      James Morris authored
      into intercode.com.au:/home/jmorris/bk/net/net-2.5
      cc621e11
    • Herbert Xu's avatar
      [IPSEC] split xfrm_state_replace + fixes · e821464c
      Herbert Xu authored
      Split xfrm_state_replace into xfrm_state_add and xfrm_state_replace.
      
      Fixes:
      1. Only update update lifetime and encap options if the state is valid.
      2. Disallow updates to states that do not exist.
      3. Bail if afinfo cannot be found.
       
      This brings SADB_UPDATE in line with what is required by RFC2367.
      It is also needed by SFS NAT-T support as it needs to update valid
      states when the encap ports move.
      
      I've tweaked the logic slightly so that SADB_UPDATE will fail on a
      larval state that hasn't undergone SADB_GETSPI.  This is what RFC2367
      calls for and it simplifies the code in that we don't have to call
      find_acq for SADB_UPDATE.
      
      This doesn't affect any of the three KMs as they either don't use
      SADB_UPDATE or call SADB_GETSPI before doing an update.
      e821464c
    • Herbert Xu's avatar
      [XFRM] Set SA saddr correctly · 352321cb
      Herbert Xu authored
      The source address of an SA is not necessarily equal to the source address
      in the selector.  This patch addresses this problem.
      352321cb