Clear traps during shutdown before unloading kernel plugins
This commit is contained in:
@@ -67,6 +67,11 @@ struct trap_manager_t {
|
||||
void (*acquire)(trap_manager_t *this, u_int32_t reqid,
|
||||
traffic_selector_t *src, traffic_selector_t *dst);
|
||||
|
||||
/**
|
||||
* Clear any installed trap.
|
||||
*/
|
||||
void (*flush)(trap_manager_t *this);
|
||||
|
||||
/**
|
||||
* Destroy a trap_manager_t.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user