diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 850b83e430bc..2663fd1323e4 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -871,7 +871,7 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk, | |||
871 | if (final_p) | 871 | if (final_p) |
872 | ipv6_addr_copy(&fl.fl6_dst, final_p); | 872 | ipv6_addr_copy(&fl.fl6_dst, final_p); |
873 | 873 | ||
874 | if ((err = __xfrm_lookup(&dst, &fl, sk, 1)) < 0) { | 874 | if ((err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT)) < 0) { |
875 | if (err == -EREMOTE) | 875 | if (err == -EREMOTE) |
876 | err = ip6_dst_blackhole(sk, &dst, &fl); | 876 | err = ip6_dst_blackhole(sk, &dst, &fl); |
877 | if (err < 0) | 877 | if (err < 0) |