plugins: odp: Fix error when all interfaces removed 95/9995/2
authorMichal Mazur <[email protected]>
Thu, 4 Jan 2018 20:12:15 +0000 (21:12 +0100)
committerMichal Mazur <[email protected]>
Thu, 11 Jan 2018 21:32:38 +0000 (22:32 +0100)
commit192a196b02b35d1f69d0679d138436bcac9d3034
tree342acbdbf182d7b98ba6b26839f1d8e6168d0f64
parentfee373a0f71824aa3aceaacea3033864f555b9ca
plugins: odp: Fix error when all interfaces removed

Packet pool cannot be destroyed when last interface is deleted
because it will not be reallocated on creation of a new interface.

Change-Id: Iec7b03b4413fc6602a7a1493ffd706f4c4dd1309
Signed-off-by: Michal Mazur <[email protected]>
src/plugins/odp/odp_packet.c