]> git.baikalelectronics.ru Git - kernel.git/commit
net: avoid including xdp.h in filter.h
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 13 Feb 2018 13:15:36 +0000 (14:15 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 14 Feb 2018 01:50:10 +0000 (17:50 -0800)
commitc34ac30ea3a92832f14c929551c438c0d5af9e01
tree0e9dcdbd62cf551e0b9d897a5760eea406395e71
parent5388b7c5dc3225ba48de531f6fdeb98baaf7679b
net: avoid including xdp.h in filter.h

If is sufficient with a forward declaration of struct xdp_rxq_info in
linux/filter.h, which avoids including net/xdp.h.  This was originally
suggested by John Fastabend during the review phase, but wasn't
included in the final patchset revision.  Thus, this followup.

Suggested-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/filter.h