diff options
Diffstat (limited to 'net/decnet/dn_route.c')
-rw-r--r-- | net/decnet/dn_route.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index fe32388ea24f..ad2efa5b861b 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -1288,8 +1288,6 @@ int dn_route_output_sock(struct dst_entry __rcu **pprt, struct flowidn *fl, stru | |||
1288 | 1288 | ||
1289 | err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); | 1289 | err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); |
1290 | if (err == 0 && fl->flowidn_proto) { | 1290 | if (err == 0 && fl->flowidn_proto) { |
1291 | if (!(flags & MSG_DONTWAIT)) | ||
1292 | fl->flowidn_flags |= FLOWI_FLAG_CAN_SLEEP; | ||
1293 | *pprt = xfrm_lookup(&init_net, *pprt, | 1291 | *pprt = xfrm_lookup(&init_net, *pprt, |
1294 | flowidn_to_flowi(fl), sk, 0); | 1292 | flowidn_to_flowi(fl), sk, 0); |
1295 | if (IS_ERR(*pprt)) { | 1293 | if (IS_ERR(*pprt)) { |