You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[TCP]: Move the tcp sock states to net/tcp_states.h
Lots of places just needs the states, not even linux/tcp.h, where this enum was, needs it. This speeds up development of the refactorings as less sources are rebuilt when things get moved from net/tcp.h. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f3f05f7046
commit
c752f0739f
+1
-1
@@ -23,13 +23,13 @@
|
||||
#include <linux/config.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <linux/init.h>
|
||||
#include <net/llc.h>
|
||||
#include <net/llc_sap.h>
|
||||
#include <net/llc_pdu.h>
|
||||
#include <net/llc_conn.h>
|
||||
#include <net/tcp_states.h>
|
||||
|
||||
/* remember: uninitialized global data is zeroed because its in .bss */
|
||||
static u16 llc_ui_sap_last_autoport = LLC_SAP_DYN_START;
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
#include <net/llc_sap.h>
|
||||
#include <net/llc_conn.h>
|
||||
#include <net/sock.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <net/tcp_states.h>
|
||||
#include <net/llc_c_ev.h>
|
||||
#include <net/llc_c_ac.h>
|
||||
#include <net/llc_c_st.h>
|
||||
|
||||
+1
-1
@@ -15,7 +15,6 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <asm/errno.h>
|
||||
#include <net/llc_if.h>
|
||||
#include <net/llc_sap.h>
|
||||
@@ -25,6 +24,7 @@
|
||||
#include <net/llc_c_ev.h>
|
||||
#include <net/llc_c_ac.h>
|
||||
#include <net/llc_c_st.h>
|
||||
#include <net/tcp_states.h>
|
||||
|
||||
u8 llc_mac_null_var[IFHWADDRLEN];
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
#include <net/llc_s_ev.h>
|
||||
#include <net/llc_s_st.h>
|
||||
#include <net/sock.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <net/tcp_states.h>
|
||||
#include <linux/llc.h>
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user