diff options
author | David S. Miller <davem@davemloft.net> | 2010-11-30 14:54:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-30 14:54:19 -0500 |
commit | b534ecf1cd26f094497da6ae28a6ab64cdbe1617 (patch) | |
tree | bdf8a55183a38926b8f34f709cb51a4db2f5f6b8 /net/ipv4/ip_fragment.c | |
parent | 582a72da9a41be9227dc931d728ae2906880a589 (diff) |
inetpeer: Make inet_getpeer() take an inet_peer_adress_t pointer.
And make an inet_getpeer_v4() helper, update callers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
-rw-r--r-- | net/ipv4/ip_fragment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c index 168440834ade..e6215bdd96c0 100644 --- a/net/ipv4/ip_fragment.c +++ b/net/ipv4/ip_fragment.c | |||
@@ -141,7 +141,7 @@ static void ip4_frag_init(struct inet_frag_queue *q, void *a) | |||
141 | qp->daddr = arg->iph->daddr; | 141 | qp->daddr = arg->iph->daddr; |
142 | qp->user = arg->user; | 142 | qp->user = arg->user; |
143 | qp->peer = sysctl_ipfrag_max_dist ? | 143 | qp->peer = sysctl_ipfrag_max_dist ? |
144 | inet_getpeer(arg->iph->saddr, 1) : NULL; | 144 | inet_getpeer_v4(arg->iph->saddr, 1) : NULL; |
145 | } | 145 | } |
146 | 146 | ||
147 | static __inline__ void ip4_frag_free(struct inet_frag_queue *q) | 147 | static __inline__ void ip4_frag_free(struct inet_frag_queue *q) |