diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-01 14:19:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-01 14:19:23 -0800 |
commit | 420d44daa7aa1cc847e9e527f0a27a9ce61768ca (patch) | |
tree | a5aab8c6b925ba3da1079b7262f7d6c504406eb8 /net/ipv4/udp.c | |
parent | abdf7e7239da270e68262728f125ea94b9b7d42d (diff) | |
download | linux-420d44daa7aa1cc847e9e527f0a27a9ce61768ca.tar.bz2 |
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 <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 8155d6eda376..790187b5c308 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -920,7 +920,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, struct net *net = sock_net(sk); security_sk_classify_flow(sk, &fl); - err = ip_route_output_flow(net, &rt, &fl, sk, 1); + err = ip_route_output_flow(net, &rt, &fl, sk, true); if (err) { if (err == -ENETUNREACH) IP_INC_STATS_BH(net, IPSTATS_MIB_OUTNOROUTES); |