summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_bitmap_ipmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ip_set_bitmap_ipmac.c')
-rw-r--r--kernel/ip_set_bitmap_ipmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/ip_set_bitmap_ipmac.c b/kernel/ip_set_bitmap_ipmac.c
index 5833c77..c595e18 100644
--- a/kernel/ip_set_bitmap_ipmac.c
+++ b/kernel/ip_set_bitmap_ipmac.c
@@ -423,7 +423,7 @@ bitmap_ipmac_destroy(struct ip_set *set)
if (with_timeout(map->timeout))
del_timer_sync(&map->gc);
- ip_set_free(map->members, set->flags);
+ ip_set_free(map->members);
kfree(map);
set->data = NULL;
@@ -553,7 +553,7 @@ init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map,
u32 first_ip, u32 last_ip)
{
map->members = ip_set_alloc((last_ip - first_ip + 1) * map->dsize,
- GFP_KERNEL, &set->flags);
+ GFP_KERNEL);
if (!map->members)
return false;
map->first_ip = first_ip;