diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:09:01 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:42 -0500 |
commit | f235fca389f23cd6c9e0f466611bb2d6a05ae758 (patch) | |
tree | 7a08efd99e531d4b0d2db4e2ef188a116e0fbb44 /net/sctp/input.c | |
parent | e2fccedb0136205d02e97a41851503e2b96d2a17 (diff) |
[SCTP]: sctp_init_addrs() switched to net-endian.
Caller adjusted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 85b3441c4a23..0e5ac5e42c96 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -245,7 +245,7 @@ int sctp_rcv(struct sk_buff *skb) | |||
245 | chunk->sctp_hdr = sh; | 245 | chunk->sctp_hdr = sh; |
246 | 246 | ||
247 | /* Set the source and destination addresses of the incoming chunk. */ | 247 | /* Set the source and destination addresses of the incoming chunk. */ |
248 | sctp_init_addrs(chunk, &src, &dest); | 248 | sctp_init_addrs(chunk, &tmp2, &tmp); |
249 | 249 | ||
250 | /* Remember where we came from. */ | 250 | /* Remember where we came from. */ |
251 | chunk->transport = transport; | 251 | chunk->transport = transport; |