diff options
| author | David Howells <dhowells@redhat.com> | 2006-11-22 09:57:56 -0500 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2006-11-22 09:57:56 -0500 |
| commit | c4028958b6ecad064b1a6303a6a5906d4fe48d73 (patch) | |
| tree | 1c4c89652c62a75da09f9b9442012007e4ac6250 /net/ipv4 | |
| parent | 65f27f38446e1976cc98fd3004b110fedcddd189 (diff) | |
WorkStruct: make allyesconfig
Fix up for make allyesconfig.
Signed-Off-By: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/ipv4')
| -rw-r--r-- | net/ipv4/ipvs/ip_vs_ctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c index f261616e4602..9b933381ebbe 100644 --- a/net/ipv4/ipvs/ip_vs_ctl.c +++ b/net/ipv4/ipvs/ip_vs_ctl.c | |||
| @@ -221,10 +221,10 @@ static void update_defense_level(void) | |||
| 221 | * Timer for checking the defense | 221 | * Timer for checking the defense |
| 222 | */ | 222 | */ |
| 223 | #define DEFENSE_TIMER_PERIOD 1*HZ | 223 | #define DEFENSE_TIMER_PERIOD 1*HZ |
| 224 | static void defense_work_handler(void *data); | 224 | static void defense_work_handler(struct work_struct *work); |
| 225 | static DECLARE_WORK(defense_work, defense_work_handler, NULL); | 225 | static DECLARE_DELAYED_WORK(defense_work, defense_work_handler); |
| 226 | 226 | ||
| 227 | static void defense_work_handler(void *data) | 227 | static void defense_work_handler(struct work_struct *work) |
| 228 | { | 228 | { |
| 229 | update_defense_level(); | 229 | update_defense_level(); |
| 230 | if (atomic_read(&ip_vs_dropentry)) | 230 | if (atomic_read(&ip_vs_dropentry)) |
