diff --git a/[refs] b/[refs] index e0ec11d2cbb2..3cda7f34bad2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4bf613c6d87399e3c8a4d5e14281456b6959d8fd +refs/heads/master: a1b1add07fa794974573d93483d68e373edfe7bd diff --git a/trunk/include/net/gro_cells.h b/trunk/include/net/gro_cells.h index e5062c955ea6..734d9b5f577a 100644 --- a/trunk/include/net/gro_cells.h +++ b/trunk/include/net/gro_cells.h @@ -73,8 +73,8 @@ static inline int gro_cells_init(struct gro_cells *gcells, struct net_device *de int i; gcells->gro_cells_mask = roundup_pow_of_two(netif_get_num_default_rss_queues()) - 1; - gcells->cells = kcalloc(sizeof(struct gro_cell), - gcells->gro_cells_mask + 1, + gcells->cells = kcalloc(gcells->gro_cells_mask + 1, + sizeof(struct gro_cell), GFP_KERNEL); if (!gcells->cells) return -ENOMEM;