]> asedeno.scripts.mit.edu Git - linux.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)
commit297dd12cb104151797fd649433a2157b585f1718
tree0e9dcdbd62cf551e0b9d897a5760eea406395e71
parent444890c3ce7d74bdc20f2bf930b8476b98d3e972
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