diff options
| author | David S. Miller <[email protected]> | 2011-02-09 22:30:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-02-10 21:22:28 +0000 |
| commit | 7a71ed899e77cc822abb863e24a422dcf7e9fa33 (patch) | |
| tree | 2811b8ca75c7019522f73c7d972208ae3a3ea8f9 /net/ipv4/tcp_ipv4.c | |
| parent | net: rename group sysfs entry to netdev_group (diff) | |
| download | kernel-7a71ed899e77cc822abb863e24a422dcf7e9fa33.tar.gz kernel-7a71ed899e77cc822abb863e24a422dcf7e9fa33.zip | |
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 <[email protected]>
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 02f583b3744a..e2b9be27f226 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) > |
