Displaying 1 result from an estimated 1 matches for "accelerator_remove_hooks".
2007 Oct 03
0
[PATCH 6/6] Network acceleration improvements
...t accelerator if it becomes
+ * available again
+ */
+ vif_state->hooks = NULL;
+
+ netif_tx_unlock_bh(vif_state->np->netdev);
+ netif_poll_enable(vif_state->np->netdev);
+}
+
+
+/*
* Safely remove the accelerator function hooks from a netfront state.
*/
static void accelerator_remove_hooks(struct netfront_accelerator *accelerator,
@@ -513,20 +537,7 @@ static void accelerator_remove_hooks(str
list_for_each_entry_safe(vif_state, tmp,
&accelerator->vif_states,
link) {
- /* Make sure there are no data path operations going on */
- netif_poll_disable(vif_state->n...