diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-04-28 15:22:13 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-29 18:33:16 -0700 |
commit | a76e07acd0de635122c5e60ccd5e55f9d5082391 (patch) | |
tree | 81532bb4926f9122961da29b9914268deca1a508 /net/xfrm | |
parent | da753beaeb1446aa87bcca7e8a0026633a8914f0 (diff) |
[IPSEC]: Fix IP ID selection
I was looking through the xfrm input/output code in order to abstract
out the address family specific encapsulation/decapsulation code. During
that process I found this bug in the IP ID selection code in xfrm4_output.c.
At that point dst is still the xfrm_dst for the current SA which
represents an internal flow as far as the IPsec tunnel is concerned.
Since the IP ID is going to sit on the outside of the encapsulated
packet, we obviously want the external flow which is just dst->child.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions