Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64596
b: refs/heads/master
c: 8d614ad
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Vlad Yasevich committed Aug 30, 2007
1 parent 849b521 commit 3c9a2e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: ab3e5e7b65dde661f5eb86b445496c5967283333
refs/heads/master: 8d614ade511fef11f992d6a73e538d33b3b81f12
2 changes: 1 addition & 1 deletion trunk/net/sctp/sm_make_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ void *sctp_addto_chunk(struct sctp_chunk *chunk, int len, const void *data)
void *target;
void *padding;
int chunklen = ntohs(chunk->chunk_hdr->length);
int padlen = chunklen % 4;
int padlen = WORD_ROUND(chunklen) - chunklen;

padding = skb_put(chunk->skb, padlen);
target = skb_put(chunk->skb, len);
Expand Down

0 comments on commit 3c9a2e7

Please sign in to comment.