aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel
diff options
context:
space:
mode:
Diffstat (limited to 'net/netlabel')
-rw-r--r--net/netlabel/netlabel_cipso_v4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/netlabel/netlabel_cipso_v4.c b/net/netlabel/netlabel_cipso_v4.c
index 73e0ff469bff..07e47dbcb0a9 100644
--- a/net/netlabel/netlabel_cipso_v4.c
+++ b/net/netlabel/netlabel_cipso_v4.c
@@ -292,7 +292,7 @@ static int netlbl_cipsov4_add_std(struct genl_info *info)
292 } 292 }
293 } 293 }
294 doi_def->map.std->cat.local = kcalloc( 294 doi_def->map.std->cat.local = kcalloc(
295 doi_def->map.std->cat.local_size, 295 doi_def->map.std->cat.local_size,
296 sizeof(u32), 296 sizeof(u32),
297 GFP_KERNEL); 297 GFP_KERNEL);
298 if (doi_def->map.std->cat.local == NULL) { 298 if (doi_def->map.std->cat.local == NULL) {
@@ -300,7 +300,7 @@ static int netlbl_cipsov4_add_std(struct genl_info *info)
300 goto add_std_failure; 300 goto add_std_failure;
301 } 301 }
302 doi_def->map.std->cat.cipso = kcalloc( 302 doi_def->map.std->cat.cipso = kcalloc(
303 doi_def->map.std->cat.cipso_size, 303 doi_def->map.std->cat.cipso_size,
304 sizeof(u32), 304 sizeof(u32),
305 GFP_KERNEL); 305 GFP_KERNEL);
306 if (doi_def->map.std->cat.cipso == NULL) { 306 if (doi_def->map.std->cat.cipso == NULL) {
@@ -325,10 +325,10 @@ static int netlbl_cipsov4_add_std(struct genl_info *info)
325 if (cat_loc == NULL || cat_rem == NULL) 325 if (cat_loc == NULL || cat_rem == NULL)
326 goto add_std_failure; 326 goto add_std_failure;
327 doi_def->map.std->cat.local[ 327 doi_def->map.std->cat.local[
328 nla_get_u32(cat_loc)] = 328 nla_get_u32(cat_loc)] =
329 nla_get_u32(cat_rem); 329 nla_get_u32(cat_rem);
330 doi_def->map.std->cat.cipso[ 330 doi_def->map.std->cat.cipso[
331 nla_get_u32(cat_rem)] = 331 nla_get_u32(cat_rem)] =
332 nla_get_u32(cat_loc); 332 nla_get_u32(cat_loc);
333 } 333 }
334 } 334 }