commit | f5fca6086511294653a9e821f8e22f041415ba7b | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun May 08 17:24:10 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 08 21:24:07 2011 -0700 |
tree | 1ab025012bf44402e7f816428461d8def54016c1 | |
parent | 77968b78242ee25e2a4d759f0fca8dd52df6d479 [diff] [blame] |
ipv4: Pass flow key down into ip_append_*(). This way rt->rt_dst accesses are unnecessary. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 6fee91f..11e17804 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c
@@ -595,7 +595,7 @@ if (!ipc.addr) ipc.addr = fl4.daddr; lock_sock(sk); - err = ip_append_data(sk, ip_generic_getfrag, + err = ip_append_data(sk, &fl4, ip_generic_getfrag, msg->msg_iov, len, 0, &ipc, &rt, msg->msg_flags); if (err)