diff options
| author | David S. Miller <[email protected]> | 2010-11-30 19:53:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-11-30 19:53:55 +0000 |
| commit | 582a72da9a41be9227dc931d728ae2906880a589 (patch) | |
| tree | 0c1943d6c5eabdbfef6560ac49db322d4becf43d /net/ipv4/tcp_ipv4.c | |
| parent | inetpeer: Abstract out the tree root accesses. (diff) | |
| download | kernel-582a72da9a41be9227dc931d728ae2906880a589.tar.gz kernel-582a72da9a41be9227dc931d728ae2906880a589.zip | |
inetpeer: Introduce inet_peer_address_t.
Currently only the v4 aspect is used, but this will change.
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 69ccbc1dde9c..b8bbf89409b0 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -1347,7 +1347,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->v4daddr == saddr) { + peer->daddr.a4 == saddr) { inet_peer_refcheck(peer); if ((u32)get_seconds() - peer->tcp_ts_stamp < TCP_PAWS_MSL && (s32)(peer->tcp_ts - req->ts_recent) > |
