aboutsummaryrefslogtreecommitdiff
path: root/net/sctp/endpointola.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/endpointola.c')
-rw-r--r--net/sctp/endpointola.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c
index 4cca7792c96..33a42e90c32 100644
--- a/net/sctp/endpointola.c
+++ b/net/sctp/endpointola.c
@@ -346,10 +346,8 @@ static void sctp_endpoint_bh_rcv(struct sctp_endpoint *ep)
* COOKIE-ECHO chunk.
*/
if (NULL == chunk->asoc) {
- union sctp_addr tmp;
- flip_to_n(&tmp, sctp_source(chunk));
asoc = sctp_endpoint_lookup_assoc(ep,
- &tmp,
+ sctp_source(chunk),
&transport);
chunk->asoc = asoc;
chunk->transport = transport;