commit | 8ce68ceb55fb62d2c8e9a3e94c4ef6ff3e3064ce | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Nov 13 21:35:01 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 14:53:39 2008 -0800 |
tree | 4e226631c52d896d9a30120944a4d122874c3346 | |
parent | 274b3426db25b8d63cbf25475e728ce1ee6caebd [diff] |
[IPSEC]: Only set neighbour on top xfrm dst The neighbour field is only used by dst_confirm which only ever happens on the top-most xfrm dst. So it's a waste to duplicate for every other xfrm dst. This patch moves its setting out of the loop so that only the top one gets set. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>