Skip to content
Commit 2397849b authored by David S. Miller's avatar David S. Miller
Browse files

[PATCH] tcp: Cache inetpeer in timewait socket, and only when necessary.



Since it's guarenteed that we will access the inetpeer if we're trying
to do timewait recycling and TCP options were enabled on the
connection, just cache the peer in the timewait socket.

In the future, inetpeer lookups will be context dependent (per routing
realm), and this helps facilitate that as well.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4670fd81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment