]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 06:56:59 +0000 (08:56 +0200)
commit67594addf1f29ad811313229180f40fa1bd7c71e
tree60fbc20ba1a7f6ef17226a1db3125f090e463fbf
parentce13d3300650da8768a2ac1631bd07867a2e1813
psample: Add a fwd declaration for skbuff

[ 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: ea4de37980fe ("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>
include/net/psample.h