]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
psample: Add a fwd declaration for skbuff
authorRoi Dayan <roid@nvidia.com>
Sun, 8 Aug 2021 06:52:42 +0000 (09:52 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 24 Sep 2021 09:57:08 +0000 (11:57 +0200)
commit291443a3f2d15ef6b192603eccf728ce590585b2
treea2167a0c3b29bb9ea298cbf17df314410cb402fb
parentf2052a4fef1279334a87e0baac349d99b17eb528
psample: Add a fwd declaration for skbuff

BugLink: https://bugs.launchpad.net/bugs/1943756
[ Upstream commit beb7f2de5728b0bd2140a652fa51f6ad85d159f7 ]

Without this there is a warning if source files include psample.h
before skbuff.h or doesn't include it at all.

Fixes: 6ae0a6286171 ("net: Introduce psample, a new genetlink channel for packet sampling")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Link: https://lore.kernel.org/r/20210808065242.1522535-1-roid@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/net/psample.h