diff options
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r-- | net/xfrm/xfrm_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index eb872b2e366e..fbd9e6cd0fd7 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -1112,7 +1112,7 @@ static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, | |||
1112 | mark = xfrm_mark_get(attrs, &m); | 1112 | mark = xfrm_mark_get(attrs, &m); |
1113 | if (p->info.seq) { | 1113 | if (p->info.seq) { |
1114 | x = xfrm_find_acq_byseq(net, mark, p->info.seq); | 1114 | x = xfrm_find_acq_byseq(net, mark, p->info.seq); |
1115 | if (x && xfrm_addr_cmp(&x->id.daddr, daddr, family)) { | 1115 | if (x && !xfrm_addr_equal(&x->id.daddr, daddr, family)) { |
1116 | xfrm_state_put(x); | 1116 | xfrm_state_put(x); |
1117 | x = NULL; | 1117 | x = NULL; |
1118 | } | 1118 | } |