summaryrefslogtreecommitdiffstats
path: root/net/sctp/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r--net/sctp/input.c2
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)
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;