commit | 374fb54eeaaa6b2cb82bca73a11273687bb2a96a | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Fri Sep 09 02:45:30 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 09 19:36:04 2016 -0700 |
tree | 3521b6faa6bf34b90ad0c4b8b733a018e858c119 | |
parent | f035a51536af9802f55d8c79bd87f184ebffb093 [diff] |
bpf: add own ctx rewriter on ifindex for clsact progs When fetching ifindex, we don't need to test dev for being NULL since we're always guaranteed to have a valid dev for clsact programs. Thus, avoid this test in fast path. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>