projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv4: Set the routing scope properly in ip_route_output_ports().
[linux-2.6-microblaze.git]
/
net
/
l2tp
/
l2tp_ip.c
diff --git
a/net/l2tp/l2tp_ip.c
b/net/l2tp/l2tp_ip.c
index
9a2a9ed
..
970af39
100644
(file)
--- a/
net/l2tp/l2tp_ip.c
+++ b/
net/l2tp/l2tp_ip.c
@@
-478,7
+478,7
@@
static int l2tp_ip_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
rt = ip_route_output_ports(sock_net(sk), fl4, sk,
daddr, inet->inet_saddr,
inet->inet_dport, inet->inet_sport,
- sk->sk_protocol,
RT_CONN_FLAGS
(sk),
+ sk->sk_protocol,
ip_sock_rt_tos
(sk),
sk->sk_bound_dev_if);
if (IS_ERR(rt))
goto no_route;