]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: set flags in the correct member of netdev_bpf
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 16 Dec 2017 00:29:13 +0000 (16:29 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 17 Dec 2017 19:41:59 +0000 (20:41 +0100)
commit87f5747f89d6c14d9f861429c0404e64d73ff318
tree11b4e451fca3bcbcc98894fa70ec3e7d4e2b23be
parentd16410fd8c40172bd4615045655b9ae4056d4c57
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: 9f8522be9bcf ("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>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c