Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41849
b: refs/heads/master
c: 2178eda
h: refs/heads/master
i:
  41847: 8232b65
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent f499f82 commit fbe130d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f81bcd9429e9bb4006eb9b7df276706c5df926d
refs/heads/master: 2178eda82616566b7397791afa6e5487990bac8e
2 changes: 2 additions & 0 deletions trunk/include/net/sctp/command.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ typedef enum {
typedef union {
__s32 i32;
__u32 u32;
__be32 be32;
__u16 u16;
__u8 u8;
int error;
Expand Down Expand Up @@ -165,6 +166,7 @@ SCTP_## name (type arg) \

SCTP_ARG_CONSTRUCTOR(I32, __s32, i32)
SCTP_ARG_CONSTRUCTOR(U32, __u32, u32)
SCTP_ARG_CONSTRUCTOR(BE32, __be32, be32)
SCTP_ARG_CONSTRUCTOR(U16, __u16, u16)
SCTP_ARG_CONSTRUCTOR(U8, __u8, u8)
SCTP_ARG_CONSTRUCTOR(ERROR, int, error)
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/sctp/sm_sideeffect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ static int sctp_cmd_interpreter(sctp_event_t event_type,

case SCTP_CMD_PROCESS_CTSN:
/* Dummy up a SACK for processing. */
sackh.cum_tsn_ack = cmd->obj.u32;
sackh.cum_tsn_ack = cmd->obj.be32;
sackh.a_rwnd = 0;
sackh.num_gap_ack_blocks = 0;
sackh.num_dup_tsns = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/sctp/sm_statefuns.c
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,7 @@ sctp_disposition_t sctp_sf_do_9_2_shutdown(const struct sctp_endpoint *ep,
* received by the SHUTDOWN sender.
*/
sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN,
SCTP_U32(chunk->subh.shutdown_hdr->cum_tsn_ack));
SCTP_BE32(chunk->subh.shutdown_hdr->cum_tsn_ack));

out:
return disposition;
Expand Down

0 comments on commit fbe130d

Please sign in to comment.