On 3/12/22 12:54 AM, Daniel Borkmann wrote: [...]
Don't quite follow this one. For example, if we'd fail in the second pass, the goto out_addrs from jit would free and clear the prog->aux->jit_data. If we'd succeed but different prog is returned, prog->aux->jit_data is released and later the goto out_free in here would clear the jited prog via bpf_jit_free(). Which code path leaves prog->aux->jit_data as non-NULL such that extra bpf_int_jit_abort() is needed?
Nevermind, it's for those that haven't been jited second time yet..