commit | 7a9870256361d4a36cb42e0301540256bb4b864e | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed Jul 11 10:31:52 2018 +0100 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jul 12 20:45:22 2018 +0200 |
tree | f903af47f0d9e1c38b318b7eeba24579c7ae1b9b | |
parent | 47b9c3bf416d80515901469f05aef2870b37c010 [diff] |
ARM: net: bpf: provide accessor functions for BPF registers Many of the code paths need to have knowledge about whether a register is stacked or in a CPU register. Move this decision making to a pair of helper functions instead of having it scattered throughout the code. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>