Skip to content

Commit

Permalink
netdev: Initialise DPDK netdev classes only once
Browse files Browse the repository at this point in the history
DPDK netdev classes were being initialised twice, resulting in warning
logs like so:

netdev|WARN|attempted to register duplicate netdev provider: dpdk

This commit removes one of the initialisation calls.

Fixes: 0692257 ("netdev: Fix potential deadlock.")
Signed-off-by: Ciara Loftus <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
cloftus authored and blp committed May 18, 2016
1 parent 4c8c2c9 commit d640a7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ netdev_initialize(void)
netdev_register_provider(&netdev_internal_class);
netdev_vport_tunnel_register();
#endif
netdev_dpdk_register();
ovsthread_once_done(&once);
}
}
Expand Down

0 comments on commit d640a7e

Please sign in to comment.