ethdev: protect Rx/Tx callback change with locks
authorReshma Pattan <reshma.pattan@intel.com>
Wed, 15 Jun 2016 14:06:18 +0000 (15:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 21:37:53 +0000 (23:37 +0200)
Added spinlocks around add/remove logic of Rx and Tx callbacks
to avoid corruption of callback lists in multithreaded context.

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

No differences found