aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/dn_route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index 5d742f1420d9..73a13075b7ee 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -1196,7 +1196,8 @@ int dn_route_output_sock(struct dst_entry **pprt, struct flowi *fl, struct sock
1196 1196
1197 err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); 1197 err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD);
1198 if (err == 0 && fl->proto) { 1198 if (err == 0 && fl->proto) {
1199 err = xfrm_lookup(pprt, fl, sk, !(flags & MSG_DONTWAIT)); 1199 err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ?
1200 XFRM_LOOKUP_WAIT : 0);
1200 } 1201 }
1201 return err; 1202 return err;
1202} 1203}