summaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
authorDavid S. Miller2011-03-01 23:19:23 +0100
committerDavid S. Miller2011-03-01 23:19:23 +0100
commit420d44daa7aa1cc847e9e527f0a27a9ce61768ca (patch)
treea5aab8c6b925ba3da1079b7262f7d6c504406eb8 /net/ipv4/raw.c
parentipv4: Can final ip_route_connect() arg to boolean "can_sleep". (diff)
downloadkernel-qcow2-linux-420d44daa7aa1cc847e9e527f0a27a9ce61768ca.tar.gz
kernel-qcow2-linux-420d44daa7aa1cc847e9e527f0a27a9ce61768ca.tar.xz
kernel-qcow2-linux-420d44daa7aa1cc847e9e527f0a27a9ce61768ca.zip
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/raw.c')
-rw-r--r--net/ipv4/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 6390ba299b3d..e1857658964d 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -563,7 +563,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
}
security_sk_classify_flow(sk, &fl);
- err = ip_route_output_flow(sock_net(sk), &rt, &fl, sk, 1);
+ err = ip_route_output_flow(sock_net(sk), &rt, &fl, sk, true);
}
if (err)
goto done;