Skip to content
Snippets Groups Projects
Commit e474995f authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent eed2a12f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment