mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
net: Remove FLOWI_FLAG_CAN_SLEEP
FLOWI_FLAG_CAN_SLEEP was used to notify xfrm about the posibility to sleep until the needed states are resolved. This code is gone, so FLOWI_FLAG_CAN_SLEEP is not needed anymore. Signed-off-by: Steffen Klassert <[email protected]>
This commit is contained in:
parent
5b8ef3415a
commit
0e0d44ab42
22 changed files with 31 additions and 46 deletions
|
|
@ -1288,8 +1288,6 @@ int dn_route_output_sock(struct dst_entry __rcu **pprt, struct flowidn *fl, stru
|
|||
|
||||
err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD);
|
||||
if (err == 0 && fl->flowidn_proto) {
|
||||
if (!(flags & MSG_DONTWAIT))
|
||||
fl->flowidn_flags |= FLOWI_FLAG_CAN_SLEEP;
|
||||
*pprt = xfrm_lookup(&init_net, *pprt,
|
||||
flowidn_to_flowi(fl), sk, 0);
|
||||
if (IS_ERR(*pprt)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue