projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WorkStruct: make allyesconfig
[deliverable/linux.git]
/
net
/
ipv4
/
ipvs
/
ip_vs_ctl.c
diff --git
a/net/ipv4/ipvs/ip_vs_ctl.c
b/net/ipv4/ipvs/ip_vs_ctl.c
index f261616e460218b5379340ba77ba6f4b6ce48506..9b933381ebbe7fc711b8f17d8ce6616d8dff0bdc 100644
(file)
--- 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)
* Timer for checking the defense
*/
#define DEFENSE_TIMER_PERIOD 1*HZ
* Timer for checking the defense
*/
#define DEFENSE_TIMER_PERIOD 1*HZ
-static void defense_work_handler(
void *data
);
-static DECLARE_
WORK(defense_work, defense_work_handler, NULL
);
+static void defense_work_handler(
struct work_struct *work
);
+static DECLARE_
DELAYED_WORK(defense_work, defense_work_handler
);
-static void defense_work_handler(
void *data
)
+static void defense_work_handler(
struct work_struct *work
)
{
update_defense_level();
if (atomic_read(&ip_vs_dropentry))
{
update_defense_level();
if (atomic_read(&ip_vs_dropentry))
This page took
0.024015 seconds
and
5
git commands to generate.