mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
eed2a12f1e
commit
e474995f29
1 changed files with 8 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue