diff options
author | Pierre Pfister <ppfister@cisco.com> | 2018-02-07 15:48:21 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-07 18:46:28 +0000 |
commit | 8cedff2f462ef9deada9aae223868a216c7aa7f2 (patch) | |
tree | 7b71d2dd615fdacc5e1e002b7b9ef08b29c1f1e7 /src/plugins/acl | |
parent | 815d7d5637fbffd20bf81c74fd59dac8e4fe4d94 (diff) |
af_packet: Fix lock position
In multi-worker cases, af-packet tx was subject to a pretty
serious race condition as the device lock was obtained
after some queue values were read from queue.
Result could go from packet loss to queue inconsistency, leading
to tx being stuck for 'some time'.
The fix is really simple. Finding the problem was not...
Change-Id: Ib18967b7459a8609428a56de934c577cea87b165
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'src/plugins/acl')
0 files changed, 0 insertions, 0 deletions