aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/kcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/kcm.h')
-rw-r--r--include/net/kcm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/kcm.h b/include/net/kcm.h
index 2d704f8f4905..441e993be634 100644
--- a/include/net/kcm.h
+++ b/include/net/kcm.h
@@ -47,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;
};
@@ -70,6 +70,7 @@ struct kcm_sock {
struct work_struct tx_work;
struct list_head wait_psock_list;
struct sk_buff *seq_skb;
+ struct mutex tx_mutex;
u32 tx_stopped : 1;
/* Don't use bit fields here, these are set under different locks */