Commit 44a215d9 authored by Bart De Schuymer's avatar Bart De Schuymer Committed by James Morris

[BRIDGE]: update to new module scheme.

parent abd7d8f8
...@@ -33,12 +33,12 @@ int (*br_should_route_hook) (struct sk_buff **pskb) = NULL; ...@@ -33,12 +33,12 @@ int (*br_should_route_hook) (struct sk_buff **pskb) = NULL;
void br_dec_use_count() void br_dec_use_count()
{ {
MOD_DEC_USE_COUNT; module_put(THIS_MODULE);
} }
void br_inc_use_count() void br_inc_use_count()
{ {
MOD_INC_USE_COUNT; try_module_get(THIS_MODULE);
} }
static int __init br_init(void) static int __init br_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment