summaryrefslogtreecommitdiff
path: root/include/net/kcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/kcm.h')
-rw-r--r--include/net/kcm.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/net/kcm.h b/include/net/kcm.h
index 2a8965819db0..d9c35e71ecea 100644
--- a/include/net/kcm.h
+++ b/include/net/kcm.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Kernel Connection Multiplexor
*
* Copyright (c) 2016 Tom Herbert <tom@herbertland.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
*/
#ifndef __NET_KCM_H_
@@ -50,9 +47,9 @@ struct kcm_stats {
struct kcm_tx_msg {
unsigned int sent;
- unsigned int fragidx;
unsigned int frag_offset;
unsigned int msg_flags;
+ bool started_tx;
struct sk_buff *frag_skb;
struct sk_buff *last_skb;
};
@@ -73,7 +70,7 @@ struct kcm_sock {
struct work_struct tx_work;
struct list_head wait_psock_list;
struct sk_buff *seq_skb;
- u32 tx_stopped : 1;
+ struct mutex tx_mutex;
/* Don't use bit fields here, these are set under different locks */
bool tx_wait;