commit | 2397849baa7c44c242e5d5142d5d16d1e7ed53d0 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Jun 09 14:56:12 2012 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 09 14:56:12 2012 -0700 |
tree | 0ee2012361d1b0f8a92b68da7d0d92209613ecaf | |
parent | 4670fd819e7f47392c7c6fc6168ea2857c66d163 [diff] |
[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: David S. Miller <davem@davemloft.net>