spin_unlock(&qp->lock);
ipq_put(qp);
- IP_INC_STATS_BH(ReasmFails);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMFAILS);
}
}
ipq_kill(qp);
- IP_INC_STATS_BH(ReasmTimeout);
- IP_INC_STATS_BH(ReasmFails);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMTIMEOUT);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMFAILS);
if ((qp->last_in&FIRST_IN) && qp->fragments != NULL) {
struct sk_buff *head = qp->fragments;
iph = head->nh.iph;
iph->frag_off = 0;
iph->tot_len = htons(len);
- IP_INC_STATS_BH(ReasmOKs);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMOKS);
qp->fragments = NULL;
return head;
"Oversized IP packet from %d.%d.%d.%d.\n",
NIPQUAD(qp->saddr));
out_fail:
- IP_INC_STATS_BH(ReasmFails);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMFAILS);
return NULL;
}
struct ipq *qp;
struct net_device *dev;
- IP_INC_STATS_BH(ReasmReqds);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMREQDS);
/* Start by cleaning up the memory. */
if (atomic_read(&ip_frag_mem) > sysctl_ipfrag_high_thresh)
return ret;
}
- IP_INC_STATS_BH(ReasmFails);
+ IP_INC_STATS_BH(IPSTATS_MIB_REASMFAILS);
kfree_skb(skb);
return NULL;
}