]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3096b38b41d6aafae9c6383ee2cca4a41550c4ca
tree7d23038ad450413eb4238f14707e1f0dce29638a
parent8d70a497861ee900774da9ad2a7ab434b9b3e078
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 4d5aaccab10497b541d6bc96328f4edff1c6a964 ("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