diff options
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r-- | net/llc/af_llc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 20b4cfebd74c..66f55e514b56 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c | |||
@@ -23,13 +23,13 @@ | |||
23 | #include <linux/config.h> | 23 | #include <linux/config.h> |
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/tcp.h> | ||
27 | #include <linux/rtnetlink.h> | 26 | #include <linux/rtnetlink.h> |
28 | #include <linux/init.h> | 27 | #include <linux/init.h> |
29 | #include <net/llc.h> | 28 | #include <net/llc.h> |
30 | #include <net/llc_sap.h> | 29 | #include <net/llc_sap.h> |
31 | #include <net/llc_pdu.h> | 30 | #include <net/llc_pdu.h> |
32 | #include <net/llc_conn.h> | 31 | #include <net/llc_conn.h> |
32 | #include <net/tcp_states.h> | ||
33 | 33 | ||
34 | /* remember: uninitialized global data is zeroed because its in .bss */ | 34 | /* remember: uninitialized global data is zeroed because its in .bss */ |
35 | static u16 llc_ui_sap_last_autoport = LLC_SAP_DYN_START; | 35 | static u16 llc_ui_sap_last_autoport = LLC_SAP_DYN_START; |
@@ -714,7 +714,7 @@ static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
714 | if (uaddr) | 714 | if (uaddr) |
715 | memcpy(uaddr, llc_ui_skb_cb(skb), sizeof(*uaddr)); | 715 | memcpy(uaddr, llc_ui_skb_cb(skb), sizeof(*uaddr)); |
716 | msg->msg_namelen = sizeof(*uaddr); | 716 | msg->msg_namelen = sizeof(*uaddr); |
717 | if (!skb->list) { | 717 | if (!skb->next) { |
718 | dgram_free: | 718 | dgram_free: |
719 | kfree_skb(skb); | 719 | kfree_skb(skb); |
720 | } | 720 | } |