On Mon, 28 Jan 2019 at 18:29, Jakub Kicinski <[email protected]> wrote: > > When prog array is updated with bpftool users often refer > to the map via the ID. Unfortunately, that's likely > to lead to confusion because prog arrays get flushed when > the last user reference is gone. If there is no other > reference bpftool will create one, update successfully > just to close the map again and have it flushed. > > Warn about this case in non-JSON mode. > > If the problem continues causing confusion we can remove > the support for referring to a map by ID for prog array > update completely. For now it seems like the potential > inconvenience to users who know what they're doing outweighs > the benefit. > > Signed-off-by: Jakub Kicinski <[email protected]> > Reviewed-by: Quentin Monnet <[email protected]>
All good for me! Quentin
