Searched refs:krepl (Results 1 – 1 of 1) sorted by relevance
2907 struct ipt_replace *krepl; in do_netfilter_replace() local2922 kreplsize = sizeof(*krepl) + origsize; in do_netfilter_replace()2923 kcountersize = krepl->num_counters * sizeof(struct ipt_counters); in do_netfilter_replace()2929 krepl = (struct ipt_replace *)vmalloc(kreplsize); in do_netfilter_replace()2930 if (krepl == NULL) in do_netfilter_replace()2933 if (copy_from_user(krepl, optval, kreplsize)) { in do_netfilter_replace()2934 vfree(krepl); in do_netfilter_replace()2939 ((struct ipt_replace32 *)krepl)->counters); in do_netfilter_replace()2941 kcountersize = krepl->num_counters * sizeof(struct ipt_counters); in do_netfilter_replace()2942 krepl->counters = (struct ipt_counters *)vmalloc(kcountersize); in do_netfilter_replace()[all …]