Revision e03630e4e4b7c63b8cf7807c5a27d35c8630c6be authored by Daniel Borkmann on 01 September 2020, 06:30:25 UTC, committed by Martynas Pumputis on 10 June 2021, 12:30:06 UTC
Currently, when we reload BPF programs, we only migrate maps upon property
mismatch, but we also need to do this for tail call maps. The currently
loaded ones should not be altered until the main prog has been replaced as
this results in weird behavior. Thus even if there was no property
mismatch, move the pinned tail call map to a different location and then,
upon success, unlink it. Remove the 'unlinking migrated node' message
since it is not worth warning here.

Fixes: #13015
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 parent 29bf120
History
File Mode Size
cmd
.gitignore -rw-r--r-- 38 bytes
Makefile -rw-r--r-- 499 bytes
main.go -rw-r--r-- 785 bytes

back to top