diff options
author | Andrii Nakryiko <[email protected]> | 2022-12-22 21:49:18 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-12-27 17:37:07 -0800 |
commit | 910f69996674bfc4a273a335c1fb2ecb45062bf6 (patch) | |
tree | 9eefbebd82faec7d3de539529850f73d0b0e4874 /lib/netdev-notifier-error-inject.c | |
parent | 7f4ce97cd5edf723c7f2e32668481b6aa86c9ec6 (diff) |
bpf: reject non-exact register type matches in regsafe()
Generalize the (somewhat implicit) rule of regsafe(), which states that
if register types in old and current states do not match *exactly*, they
can't be safely considered equivalent.
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions