commit | e474995f290ff7bc236b549aa9a89ae445ee5b1b | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun May 08 16:38:45 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 08 21:12:48 2011 -0700 |
tree | 50c16643d9b828d95f795863653a12739e111224 | |
parent | eed2a12f1ed9aabf0676f4d0db34aad51976c5c6 [diff] |
udp: Use flow key information instead of rt->rt_{src,dst} We have two cases. Either the socket is in TCP_ESTABLISHED state and connect() filled in the inet socket cork flow, or we looked up the route here and used an on-stack flow. Track which one it was, and use it to obtain src/dst addrs. Signed-off-by: David S. Miller <davem@davemloft.net>