Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41816
b: refs/heads/master
c: f235fca
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent 1efff23 commit e24a400
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: e2fccedb0136205d02e97a41851503e2b96d2a17
refs/heads/master: f235fca389f23cd6c9e0f466611bb2d6a05ae758
2 changes: 1 addition & 1 deletion trunk/net/sctp/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int sctp_rcv(struct sk_buff *skb)
chunk->sctp_hdr = sh;

/* Set the source and destination addresses of the incoming chunk. */
sctp_init_addrs(chunk, &src, &dest);
sctp_init_addrs(chunk, &tmp2, &tmp);

/* Remember where we came from. */
chunk->transport = transport;
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/sctp/sm_make_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,9 @@ struct sctp_chunk *sctp_chunkify(struct sk_buff *skb,
void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src,
union sctp_addr *dest)
{
memcpy(&chunk->source_h, src, sizeof(union sctp_addr));
flip_to_n(&chunk->source, &chunk->source_h);
memcpy(&chunk->dest, dest, sizeof(union sctp_addr));
memcpy(&chunk->source, src, sizeof(union sctp_addr));
flip_to_h(&chunk->source_h, &chunk->source);
flip_to_h(&chunk->dest, dest);
}

/* Extract the source address from a chunk. */
Expand Down

0 comments on commit e24a400

Please sign in to comment.