OSDN Git Service

sctp: change to include linux/sctp.h in net/sctp/checksum.h
authorXin Long <lucien.xin@gmail.com>
Tue, 15 Nov 2022 15:39:53 +0000 (10:39 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Nov 2022 05:43:34 +0000 (21:43 -0800)
commitb78c4162823dddc621649edae704b14c5973298c
treebb2bb5a90ad2812249fb54aec8bb4dcc367d50df
parent24f627a3a85f2b3c71e0e975a641e4f6df5df4a2
sctp: change to include linux/sctp.h in net/sctp/checksum.h

Currently "net/sctp/checksum.h" including "net/sctp/sctp.h" is
included in quite some places in netfilter and openswitch and
net/sched. It's not necessary to include "net/sctp/sctp.h" if
a module does not have dependence on SCTP, "linux/sctp.h" is
the right one to include.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Saeed Mahameed <saeed@kernel.org>
Link: https://lore.kernel.org/r/ca7ea96d62a26732f0491153c3979dc1c0d8d34a.1668526793.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sctp/checksum.h