commit | 4a29c0db69e58b20cd7a2efce997627c6b376244 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Fri Dec 15 16:29:13 2017 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sun Dec 17 20:41:59 2017 +0100 |
tree | 11b4e451fca3bcbcc98894fa70ec3e7d4e2b23be | |
parent | 21567eded9805acbf69807671eb94d3536f797d0 [diff] |
nfp: set flags in the correct member of netdev_bpf netdev_bpf.flags is the input member for installing the program. netdev_bpf.prog_flags is the output member for querying. Set the correct one on query. Fixes: 92f0292b35a0 ("net: xdp: report flags program was installed with on query") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>