mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-29 23:25:13 +08:00
1 parent
37eb246de8
commit
ec44f6fe2e
16 files changed
+130
-275
No files matched your search
@@ -1767,6 +1767,9 @@ static int __init fast_classifier_init(void)
|
||||
printk(KERN_ALERT "fast-classifier: starting up\n");
|
||||
DEBUG_INFO("SFE CM init\n");
|
||||
|
||||
/* Initialize state before registering callbacks that can use it. */
|
||||
spin_lock_init(&sc->lock);
|
||||
|
||||
hash_init(fc_conn_ht);
|
||||
|
||||
/*
|
||||
@@ -1882,8 +1885,6 @@ static int __init fast_classifier_init(void)
|
||||
|
||||
printk(KERN_ALERT "fast-classifier: registered\n");
|
||||
|
||||
spin_lock_init(&sc->lock);
|
||||
|
||||
/*
|
||||
* Hook the receive path in the network stack.
|
||||
*/
|
||||
@@ -2005,4 +2006,3 @@ module_exit(fast_classifier_exit)
|
||||
|
||||
MODULE_DESCRIPTION("Shortcut Forwarding Engine - Connection Manager");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
Reference in new issue
Block a user