diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-08-25 16:53:22 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-08-26 14:44:39 +0000 |
commit | 4fe2f4c29e3672f38038d34f177a9ccbff18d9ad (patch) | |
tree | 6ba49d054ca502484db4f8f7cc1bc470df1bcd8d /src/plugins/http_static | |
parent | ad8b82d8394e7e711b2c1953b3c273aab4920355 (diff) |
af_xdp: fix stale rx/tx pointers in xsk objects
xsk objects keep pointers to the rx and tx objects. If we re-allocate
the rx and tx vectors after initializing the associated xsk object, the
pointers in the xsk object will be staled.
To avoid this, we allocate the vectors to the max expected size instead
of growing them.
Type: fix
Change-Id: If30433a28c186787d66c12dbab34bf210c95b519
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/http_static')
0 files changed, 0 insertions, 0 deletions