-
Alexey Kirillov authored
The info_str field of the NetClientState structure is static and has a size of 256 bytes. This amount is often unclaimed, and the field itself is used exclusively for HMP "info network". The patch translates info_str to dynamic memory allocation. This action is also allows us to painlessly discard usage of this field for backend devices. Signed-off-by:
Alexey Kirillov <lekiravi@yandex-team.ru>
Signed-off-by:
Jason Wang <jasowang@redhat.com>Alexey Kirillov authoredThe info_str field of the NetClientState structure is static and has a size of 256 bytes. This amount is often unclaimed, and the field itself is used exclusively for HMP "info network". The patch translates info_str to dynamic memory allocation. This action is also allows us to painlessly discard usage of this field for backend devices. Signed-off-by:
Alexey Kirillov <lekiravi@yandex-team.ru>
Signed-off-by:
Jason Wang <jasowang@redhat.com>
Loading