acl-plugin: fill in the 5tuple structure all at once, avoid short writes 93/13493/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 16 Jul 2018 13:28:47 +0000 (15:28 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 3 Aug 2018 01:18:13 +0000 (01:18 +0000)
commit0e10dd17b66736ac604f8e85ba17c202c893fb28
tree95ce00ffeb47256c8d455e52861d5497db7d5a4a
parentc76d6e2c4a659f3d142274561b50507e85412fca
acl-plugin: fill in the 5tuple structure all at once, avoid short writes

This change avoids the long-read-after-short-write, resulting
in a small performance improvement.

Change-Id: Ic01d1fd19182e96100ccaf441d7ab5e5898b9734
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/dataplane_node.c