Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> writes: > In lots of places, bpf_prog pointer is used only for tracing or other > stuff that doesn't modify the structure itself. Same for net_device. > Address at least some of them and add `const` attributes there. The > object code didn't change, but that may prevent unwanted data > modifications and also allow more helpers to have const arguments. > > Signed-off-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> Reviewed-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>