From 84040186c14918ef14fabac3b6fa396528a6ee70 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Sat, 26 Jan 2013 09:24:19 +0000 Subject: [PATCH] --- yaml --- r: 351669 b: refs/heads/master c: a1b1add07fa794974573d93483d68e373edfe7bd h: refs/heads/master i: 351667: a370d79fcddf3b5780a99dac47f7fc3eeceb0b13 v: v3 --- [refs] | 2 +- trunk/include/net/gro_cells.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;