diff options
author | Damjan Marion <damarion@cisco.com> | 2023-11-13 17:33:32 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-11-16 16:01:35 +0000 |
commit | 69768d99eed0f44f6955370cb1ad83b8b73e5368 (patch) | |
tree | 00c689be86b41fe36aae2a9e6e0d3422e1272d81 /src/vnet/dev/dev.c | |
parent | f3be34e4433bb86509044290fa3cced543697a31 (diff) |
dev: device and port specific args
Type: improvement
Change-Id: I26124a50d8e05d6f01a2e6dbc4bc8183fb5a09c4
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/dev/dev.c')
-rw-r--r-- | src/vnet/dev/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dev/dev.c b/src/vnet/dev/dev.c index 9b99fe432a4..0e04e9ab64b 100644 --- a/src/vnet/dev/dev.c +++ b/src/vnet/dev/dev.c @@ -160,6 +160,7 @@ vnet_dev_free (vlib_main_t *vm, vnet_dev_t *dev) pool_free (dev->ports); pool_free (dev->periodic_ops); hash_unset (dm->device_index_by_id, dev->device_id); + vnet_dev_arg_free (&dev->args); pool_put_index (dm->devices, dev->index); } |