diff options
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 11f480b12952..f05371556cce 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c | |||
@@ -352,6 +352,7 @@ xfrm_state_find(xfrm_address_t *daddr, xfrm_address_t *saddr, | |||
352 | list_for_each_entry(x, xfrm_state_bydst+h, bydst) { | 352 | list_for_each_entry(x, xfrm_state_bydst+h, bydst) { |
353 | if (x->props.family == family && | 353 | if (x->props.family == family && |
354 | x->props.reqid == tmpl->reqid && | 354 | x->props.reqid == tmpl->reqid && |
355 | !(x->props.flags & XFRM_STATE_WILDRECV) && | ||
355 | xfrm_state_addr_check(x, daddr, saddr, family) && | 356 | xfrm_state_addr_check(x, daddr, saddr, family) && |
356 | tmpl->mode == x->props.mode && | 357 | tmpl->mode == x->props.mode && |
357 | tmpl->id.proto == x->id.proto && | 358 | tmpl->id.proto == x->id.proto && |