route: Take the right src and dst addresses in ip_route_newports
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 25 Mar 2011 08:28:45 +0000 (01:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Mar 2011 08:28:45 +0000 (01:28 -0700)
commit6df59a84eccd4cad7fcefda3e0c5e55239a3b2dd
tree7d23038ad450413eb4238f14707e1f0dce29638a
parent37e826c513883099c298317bad1b3b677b2905fb
route: Take the right src and dst addresses in ip_route_newports

When we set up the flow informations in ip_route_newports(), we take
the address informations from the the rt_key_src and rt_key_dst fields
of the rtable. They appear to be empty. So take the address
informations from rt_src and rt_dst instead. This issue was introduced
by commit 5e2b61f78411be25f0b84f97d5b5d312f184dfd1 ("ipv4: Remove
flowi from struct rtable.")

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h