Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150358
b: refs/heads/master
c: 8f698d5
h: refs/heads/master
v: v3
  • Loading branch information
Michał Mirosław authored and David S. Miller committed May 21, 2009
1 parent e099231 commit 389aebc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 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: acb0a200ae48d95e3117608d0225a23e5efa283c
refs/heads/master: 8f698d54532172de3591af1e9394dc669f29e6ca
18 changes: 2 additions & 16 deletions trunk/net/netfilter/ipvs/ip_vs_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3345,22 +3345,8 @@ static struct genl_ops ip_vs_genl_ops[] __read_mostly = {

static int __init ip_vs_genl_register(void)
{
int ret, i;

ret = genl_register_family(&ip_vs_genl_family);
if (ret)
return ret;

for (i = 0; i < ARRAY_SIZE(ip_vs_genl_ops); i++) {
ret = genl_register_ops(&ip_vs_genl_family, &ip_vs_genl_ops[i]);
if (ret)
goto err_out;
}
return 0;

err_out:
genl_unregister_family(&ip_vs_genl_family);
return ret;
return genl_register_family_with_ops(&ip_vs_genl_family,
ip_vs_genl_ops, ARRAY_SIZE(ip_vs_genl_ops));
}

static void ip_vs_genl_unregister(void)
Expand Down

0 comments on commit 389aebc

Please sign in to comment.