diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-11 18:04:35 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-11 18:04:35 -0700 |
commit | 0a37c10ed460872d41259659f7f589edebdc42b7 (patch) | |
tree | 526d5bc97d37b0836cadf5564547903a3bde8b21 /net/ipv4/ipvs/ip_vs_rr.c | |
parent | 37cc6780170f6f4fc3f9746d6a9bb2da1d999d7b (diff) | |
parent | e93615d0866a974afc7148172f8382e2af48c985 (diff) |
Merge branch 'stealer/ipvs/for-davem' of git://git.stealer.net/linux-2.6
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_rr.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_rr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_rr.c b/net/ipv4/ipvs/ip_vs_rr.c index c8db12d39e6..358110d17e5 100644 --- a/net/ipv4/ipvs/ip_vs_rr.c +++ b/net/ipv4/ipvs/ip_vs_rr.c @@ -94,6 +94,7 @@ static struct ip_vs_scheduler ip_vs_rr_scheduler = { .name = "rr", /* name */ .refcnt = ATOMIC_INIT(0), .module = THIS_MODULE, + .n_list = LIST_HEAD_INIT(ip_vs_rr_scheduler.n_list), .init_service = ip_vs_rr_init_svc, .done_service = ip_vs_rr_done_svc, .update_service = ip_vs_rr_update_svc, @@ -102,7 +103,6 @@ static struct ip_vs_scheduler ip_vs_rr_scheduler = { static int __init ip_vs_rr_init(void) { - INIT_LIST_HEAD(&ip_vs_rr_scheduler.n_list); return register_ip_vs_scheduler(&ip_vs_rr_scheduler); } |