diff options
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/netfilter/ebt_ulog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c index 259f5c370f3c..8b84cd40279e 100644 --- a/net/bridge/netfilter/ebt_ulog.c +++ b/net/bridge/netfilter/ebt_ulog.c | |||
@@ -297,9 +297,7 @@ static int __init ebt_ulog_init(void) | |||
297 | 297 | ||
298 | /* initialize ulog_buffers */ | 298 | /* initialize ulog_buffers */ |
299 | for (i = 0; i < EBT_ULOG_MAXNLGROUPS; i++) { | 299 | for (i = 0; i < EBT_ULOG_MAXNLGROUPS; i++) { |
300 | init_timer(&ulog_buffers[i].timer); | 300 | setup_timer(&ulog_buffers[i].timer, ulog_timer, i); |
301 | ulog_buffers[i].timer.function = ulog_timer; | ||
302 | ulog_buffers[i].timer.data = i; | ||
303 | spin_lock_init(&ulog_buffers[i].lock); | 301 | spin_lock_init(&ulog_buffers[i].lock); |
304 | } | 302 | } |
305 | 303 | ||