[PATCH bpf-next v5 01/12] bpf: change parameters of call/branch offset adjustment

2019-01-22 Thread Jakub Kicinski
In preparation for code removal change parameters to branch and call adjustment functions to be more universal. The current parameters assume we are patching a single instruction with a longer set. A diagram may help reading the change, this is for the patch single case, patching instruction 1 wi

[PATCH bpf-next v5 01/12] bpf: change parameters of call/branch offset adjustment

2019-01-19 Thread Jakub Kicinski
In preparation for code removal change parameters to branch and call adjustment functions to be more universal. The current parameters assume we are patching a single instruction with a longer set. A diagram may help reading the change, this is for the patch single case, patching instruction 1 wi