Skip to content

bpf: pin the map only if we're not yet attached

Peter Hutterer requested to merge whot/udev-hid-bpf:wip/attach-fix into main

If we get here attached is already true.


@bentiss: there's a bug here but I don't know which one it is. Either we don't need to try to map.pin() because attached is already true (fixed in this patch), or the line attached = true after map.pin() is superfluous.

Merge request reports