diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-06 22:23:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-08 15:28:28 -0700 |
commit | d9d8da805dcb503ef8ee49918a94d49085060f23 (patch) | |
tree | ede7d2af74c2982eb24430079aea63c05a3420e9 /net/l2tp/l2tp_ip.c | |
parent | 0e734419923bd8e599858f8fc196c7804bb85564 (diff) | |
download | linux-3.10-d9d8da805dcb503ef8ee49918a94d49085060f23.tar.gz linux-3.10-d9d8da805dcb503ef8ee49918a94d49085060f23.tar.bz2 linux-3.10-d9d8da805dcb503ef8ee49918a94d49085060f23.zip |
inet: Pass flowi to ->queue_xmit().
This allows us to acquire the exact route keying information from the
protocol, however that might be managed.
It handles all of the possibilities, from the simplest case of storing
the key in inet->cork.fl to the more complex setup SCTP has where
individual transports determine the flow.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_ip.c')
-rw-r--r-- | net/l2tp/l2tp_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index 1ca74892ff0..f7fb09ecaf8 100644 --- a/net/l2tp/l2tp_ip.c +++ b/net/l2tp/l2tp_ip.c @@ -508,7 +508,7 @@ static int l2tp_ip_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *m skb_dst_set(skb, dst_clone(&rt->dst)); /* Queue the packet to IP for output */ - rc = ip_queue_xmit(skb); + rc = ip_queue_xmit(skb, &inet->cork.fl); error: /* Update stats */ |