* [PATCH net-next] tcp: remove unnecessary include
@ 2017-10-27 17:01 Alexei Starovoitov
2017-10-28 10:27 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alexei Starovoitov @ 2017-10-27 17:01 UTC (permalink / raw)
To: David S . Miller; +Cc: Daniel Borkmann, Lawrence Brakmo, netdev
two extra #include are not necessary in tcp.h
Remove them.
Fixes: 40304b2a1567 ("bpf: BPF support for sock_ops")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
---
noticed that changes to linux/bpf.h triggered bigger kernel rebuilds
---
include/net/tcp.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 2392f74074e7..14a68d206dab 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -45,9 +45,6 @@
#include <linux/seq_file.h>
#include <linux/memcontrol.h>
-
-#include <linux/bpf.h>
-#include <linux/filter.h>
#include <linux/bpf-cgroup.h>
extern struct inet_hashinfo tcp_hashinfo;
--
2.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] tcp: remove unnecessary include
2017-10-27 17:01 [PATCH net-next] tcp: remove unnecessary include Alexei Starovoitov
@ 2017-10-28 10:27 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-10-28 10:27 UTC (permalink / raw)
To: ast; +Cc: daniel, brakmo, netdev
From: Alexei Starovoitov <ast@fb.com>
Date: Fri, 27 Oct 2017 10:01:39 -0700
> two extra #include are not necessary in tcp.h
> Remove them.
>
> Fixes: 40304b2a1567 ("bpf: BPF support for sock_ops")
> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-28 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27 17:01 [PATCH net-next] tcp: remove unnecessary include Alexei Starovoitov
2017-10-28 10:27 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).