commit | c31e5a4876cdfbfcc28c4fb201ad872c65671067 | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Tue Aug 29 16:37:40 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 29 10:51:28 2017 -0700 |
tree | 2796a7c5b638c813aaed663acb6a0d79b6b9855d | |
parent | d0fcece7704c935a9c8740bddff21575048f27ba [diff] |
xdp: remove redundant argument to trace_xdp_redirect Supplying the action argument XDP_REDIRECT to the tracepoint xdp_redirect is redundant as it is only called in-case this action was specified. Remove the argument, but keep "act" member of the tracepoint struct and populate it with XDP_REDIRECT. This makes it easier to write a common bpf_prog processing events. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>