Skip to content

Commit

Permalink
ARM: net: bpf: provide accessor functions for BPF registers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Daniel Borkmann committed Jul 12, 2018
1 parent 47b9c3b commit 7a98702
Showing 1 changed file with 128 additions and 201 deletions.
Loading

0 comments on commit 7a98702

Please sign in to comment.