diff options
author | Patrick McHardy <kaber@trash.net> | 2005-04-21 20:12:32 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-04-21 20:12:32 -0700 |
commit | 5c5d281a93e9816966b6131ccec19519dab0e103 (patch) | |
tree | a897ec464a600d7a678052bfd5e52378470a45fe /net/core | |
parent | 7938109fff944e0117976a39946d99d2b0b0250d (diff) |
[XFRM]: Fix existence lookup in xfrm_state_find
Use 'daddr' instead of &tmpl->id.daddr, since the latter
might be zero. Also, only perform the lookup when
tmpl->id.spi is non-zero.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions