ip_fragment.c (48d60056387c37a17a46feda48613587a90535e5) | ip_fragment.c (c95477090a2ace6d241c184adc3fbfcab9c61ceb) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * The IP fragmentation functionality. 7 * 8 * Version: $Id: ip_fragment.c,v 1.59 2002/01/12 07:54:56 davem Exp $ --- 157 unchanged lines hidden (view full) --- 166 167static __inline__ void ip4_frag_free(struct inet_frag_queue *q) 168{ 169 struct ipq *qp; 170 171 qp = container_of(q, struct ipq, q); 172 if (qp->peer) 173 inet_putpeer(qp->peer); | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * The IP fragmentation functionality. 7 * 8 * Version: $Id: ip_fragment.c,v 1.59 2002/01/12 07:54:56 davem Exp $ --- 157 unchanged lines hidden (view full) --- 166 167static __inline__ void ip4_frag_free(struct inet_frag_queue *q) 168{ 169 struct ipq *qp; 170 171 qp = container_of(q, struct ipq, q); 172 if (qp->peer) 173 inet_putpeer(qp->peer); |
174 kfree(qp); | |
175} 176 177 178/* Destruction primitives. */ 179 180static __inline__ void ipq_put(struct ipq *ipq) 181{ 182 inet_frag_put(&ipq->q, &ip4_frags); --- 443 unchanged lines hidden --- | 174} 175 176 177/* Destruction primitives. */ 178 179static __inline__ void ipq_put(struct ipq *ipq) 180{ 181 inet_frag_put(&ipq->q, &ip4_frags); --- 443 unchanged lines hidden --- |