Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47664
b: refs/heads/master
c: e1a9526
h: refs/heads/master
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Feb 11, 2007
1 parent 130fefa commit 7df2ecd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d57b1869b231c56de441db35c647879d51c5d29e
refs/heads/master: e1a95265b44ca31456adaacebebcde12714f0c03
8 changes: 4 additions & 4 deletions trunk/net/netlabel/netlabel_cipso_v4.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,15 @@ static int netlbl_cipsov4_add_std(struct genl_info *info)
}
}
doi_def->map.std->cat.local = kcalloc(
doi_def->map.std->cat.local_size,
doi_def->map.std->cat.local_size,
sizeof(u32),
GFP_KERNEL);
if (doi_def->map.std->cat.local == NULL) {
ret_val = -ENOMEM;
goto add_std_failure;
}
doi_def->map.std->cat.cipso = kcalloc(
doi_def->map.std->cat.cipso_size,
doi_def->map.std->cat.cipso_size,
sizeof(u32),
GFP_KERNEL);
if (doi_def->map.std->cat.cipso == NULL) {
Expand All @@ -325,10 +325,10 @@ static int netlbl_cipsov4_add_std(struct genl_info *info)
if (cat_loc == NULL || cat_rem == NULL)
goto add_std_failure;
doi_def->map.std->cat.local[
nla_get_u32(cat_loc)] =
nla_get_u32(cat_loc)] =
nla_get_u32(cat_rem);
doi_def->map.std->cat.cipso[
nla_get_u32(cat_rem)] =
nla_get_u32(cat_rem)] =
nla_get_u32(cat_loc);
}
}
Expand Down

0 comments on commit 7df2ecd

Please sign in to comment.