memif: fix the memif crash when slave disconnect 39/34039/2
authorMohsin Kazmi <sykazmi@cisco.com>
Mon, 11 Oct 2021 15:43:15 +0000 (15:43 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 12 Oct 2021 13:09:32 +0000 (13:09 +0000)
commitfcef34dd1cf2e356cc8909e16dc7fa93fffbff2b
treed78ec3beea84f80d3e6a5234d5b247bb2176a32d
parent23a15b34e410def81d4bb3e2c8f28f118b59dc5a
memif: fix the memif crash when slave disconnect

Type: fix

Fixes: 3effb4e63068 ("memif: integrate with new tx infra")

memif is recently integrated with new tx infra. But it
introduces a crash when slave disconnect from master but
interface is not deleted. Disconnect routine was missing
unregister of all tx queues. This patch fixes it.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I81c59cc1a03561248ec8595d5e3caa54f421833e
src/plugins/memif/memif.c