aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 1e3bd39f54ec..8cbdcc9602df 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -757,7 +757,7 @@ do_udp_sendmsg:
757 if (final_p) 757 if (final_p)
758 ipv6_addr_copy(&fl.fl6_dst, final_p); 758 ipv6_addr_copy(&fl.fl6_dst, final_p);
759 759
760 if ((err = __xfrm_lookup(&dst, &fl, sk, 1)) < 0) { 760 if ((err = __xfrm_lookup(&dst, &fl, sk, XFRM_LOOKUP_WAIT)) < 0) {
761 if (err == -EREMOTE) 761 if (err == -EREMOTE)
762 err = ip6_dst_blackhole(sk, &dst, &fl); 762 err = ip6_dst_blackhole(sk, &dst, &fl);
763 if (err < 0) 763 if (err < 0)