ipv4: Make final arg to ip_route_output_flow to be boolean "can_sleep"

Since that is what the current vague "flags" argument means.

Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
David S. Miller 2011-03-01 14:19:23 -08:00
commit 420d44daa7
12 changed files with 16 additions and 16 deletions

View file

@ -354,7 +354,7 @@ static struct rtable *find_route(struct t3cdev *dev, __be32 local_ip,
}
};
if (ip_route_output_flow(&init_net, &rt, &fl, NULL, 0))
if (ip_route_output_flow(&init_net, &rt, &fl, NULL, false))
return NULL;
return rt;
}

View file

@ -331,7 +331,7 @@ static struct rtable *find_route(struct c4iw_dev *dev, __be32 local_ip,
}
};
if (ip_route_output_flow(&init_net, &rt, &fl, NULL, 0))
if (ip_route_output_flow(&init_net, &rt, &fl, NULL, false))
return NULL;
return rt;
}