diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-09 14:30:26 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-10 13:22:28 -0800 |
commit | 7a71ed899e77cc822abb863e24a422dcf7e9fa33 (patch) | |
tree | 2811b8ca75c7019522f73c7d972208ae3a3ea8f9 /net/ipv4/tcp_ipv4.c | |
parent | b6644cb706610874104dbf3359e3b67aa59cbc27 (diff) | |
download | op-kernel-dev-7a71ed899e77cc822abb863e24a422dcf7e9fa33.zip op-kernel-dev-7a71ed899e77cc822abb863e24a422dcf7e9fa33.tar.gz |
inetpeer: Abstract address representation further.
Future changes will add caching information, and some of
these new elements will be addresses.
Since the family is implicit via the ->daddr.family member,
replicating the family in ever address we store is entirely
redundant.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 02f583b..e2b9be2 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -1341,7 +1341,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb) tcp_death_row.sysctl_tw_recycle && (dst = inet_csk_route_req(sk, req)) != NULL && (peer = rt_get_peer((struct rtable *)dst)) != NULL && - peer->daddr.a4 == saddr) { + peer->daddr.addr.a4 == saddr) { inet_peer_refcheck(peer); if ((u32)get_seconds() - peer->tcp_ts_stamp < TCP_PAWS_MSL && (s32)(peer->tcp_ts - req->ts_recent) > |