aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-01 14:19:23 -0800
committerDavid S. Miller <davem@davemloft.net>2011-03-01 14:19:23 -0800
commit420d44daa7aa1cc847e9e527f0a27a9ce61768ca (patch)
treea5aab8c6b925ba3da1079b7262f7d6c504406eb8 /net/ipv4/af_inet.c
parentabdf7e7239da270e68262728f125ea94b9b7d42d (diff)
downloadkernel_goldelico_gta04-420d44daa7aa1cc847e9e527f0a27a9ce61768ca.zip
kernel_goldelico_gta04-420d44daa7aa1cc847e9e527f0a27a9ce61768ca.tar.gz
kernel_goldelico_gta04-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/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index d16687d..7d90fe0 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1174,7 +1174,7 @@ int inet_sk_rebuild_header(struct sock *sk)
};
security_sk_classify_flow(sk, &fl);
- err = ip_route_output_flow(sock_net(sk), &rt, &fl, sk, 0);
+ err = ip_route_output_flow(sock_net(sk), &rt, &fl, sk, false);
}
if (!err)
sk_setup_caps(sk, &rt->dst);