redbpf icon indicating copy to clipboard operation
redbpf copied to clipboard

Fixes SockMap.value_size so that sockmaps can be dumped by bpftool

Open murrayh opened this issue 4 years ago • 1 comments

bpftool reports a cryptic "No space left on device" error when attempting to dump a SockMap

image

This is because the value_size is 4B -- it needs to be 8B to work with bpftool.

With this change, the commands look like:

image

murrayh avatar Nov 19 '21 09:11 murrayh

Thank-you I have force pushed the the Sign off message

murrayh avatar Nov 23 '21 09:11 murrayh