summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Grimm <jgrimm@touki.austin.ibm.com>2003-04-28 00:28:38 -0500
committerJon Grimm <jgrimm@touki.austin.ibm.com>2003-04-28 00:28:38 -0500
commit3db0b603c5a1909aec1f962233fc772ee1d742bb (patch)
tree8d45e3ea85852381a8b6c4022d76ab6d636c42ba /include
parenta93aba9ba0ca6cf1e1fecdb36f4ffa83ee57dc82 (diff)
[SCTP] Make fragmented messages know how to SEND_FAIL themselves.
If a message were fragmented, it was getting SEND_FAILed in all sorts of random order or not at all. Now each "message" tracks its own fragments and can SEND_FAIL itself and all its fragments.
Diffstat (limited to 'include')
-rw-r--r--include/net/sctp/structs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 81f3b83c47cf..7e9cd2a87ac5 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -459,8 +459,9 @@ struct sctp_datamsg {
struct list_head track;
/* Reference counting. */
atomic_t refcnt;
- /* Have the SEND_FAILED notifications been done. */
- __u8 notify_done;
+ /* Did the messenge fail to send? */
+ int send_error;
+ char send_failed;
};
struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,