aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index b2117a161d8b..68c2f357a183 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -824,7 +824,7 @@ xfrm_state_find(const xfrm_address_t *daddr, const xfrm_address_t *saddr,
824 x->props.reqid == tmpl->reqid && 824 x->props.reqid == tmpl->reqid &&
825 (mark & x->mark.m) == x->mark.v && 825 (mark & x->mark.m) == x->mark.v &&
826 !(x->props.flags & XFRM_STATE_WILDRECV) && 826 !(x->props.flags & XFRM_STATE_WILDRECV) &&
827 xfrm_state_addr_check(x, daddr, saddr, encap_family) && 827 xfrm_addr_equal(&x->id.daddr, daddr, encap_family) &&
828 tmpl->mode == x->props.mode && 828 tmpl->mode == x->props.mode &&
829 tmpl->id.proto == x->id.proto && 829 tmpl->id.proto == x->id.proto &&
830 (tmpl->id.spi == x->id.spi || !tmpl->id.spi)) 830 (tmpl->id.spi == x->id.spi || !tmpl->id.spi))