linux-cp: don't drain nl-messages during processing 39/43639/2
authorАртем Глазычев <[email protected]>
Tue, 26 Aug 2025 12:04:58 +0000 (15:04 +0300)
committerMatthew Smith <[email protected]>
Thu, 4 Sep 2025 12:44:46 +0000 (12:44 +0000)
commitd0e47c94ec002821010e943f6d1a8d541ecbdd07
tree2373f71614716ac110649596e1020eaeb6971d59
parent0cea6395a9cc768c644c46962fd83dacdcef71f5
linux-cp: don't drain nl-messages during processing

When we process the incoming netlink message queue and have NEW_LINK for a VLAN interface, we call lcp_itf_pair_add.
Internally, drain is called, which corrupts the original vector (probably due to reallocation)

Type: fix

Change-Id: I0487bfb2939a04d8d3c156725086fedd6e9c72c7
Signed-off-by: Artem Glazychev <[email protected]>
src/plugins/linux-cp/lcp_nl.c