/*
- * Copyright (c) 2009, 2010 Nicira Networks.
+ * Copyright (c) 2009, 2010, 2011 Nicira Networks.
* Distributed under the terms of the GNU GPL version 2.
*
* Significant portions of this file may be copied from parts of the Linux
unsigned int j;
for (j = 0; j < TBL_L2_SIZE; j++) {
- struct tbl_bucket *bucket = rcu_dereference(l2[j]);
+ struct tbl_bucket *bucket = (struct tbl_bucket __force *)l2[j];
if (!bucket)
continue;
{
struct tbl *table;
- table = kzalloc(sizeof *table, GFP_KERNEL);
+ table = kzalloc(sizeof(*table), GFP_KERNEL);
if (!table)
goto err;