diff options
Diffstat (limited to 'net/sctp/endpointola.c')
-rw-r--r-- | net/sctp/endpointola.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 4cca7792c961..33a42e90c32f 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) | |||
346 | * COOKIE-ECHO chunk. | 346 | * COOKIE-ECHO chunk. |
347 | */ | 347 | */ |
348 | if (NULL == chunk->asoc) { | 348 | if (NULL == chunk->asoc) { |
349 | union sctp_addr tmp; | ||
350 | flip_to_n(&tmp, sctp_source(chunk)); | ||
351 | asoc = sctp_endpoint_lookup_assoc(ep, | 349 | asoc = sctp_endpoint_lookup_assoc(ep, |
352 | &tmp, | 350 | sctp_source(chunk), |
353 | &transport); | 351 | &transport); |
354 | chunk->asoc = asoc; | 352 | chunk->asoc = asoc; |
355 | chunk->transport = transport; | 353 | chunk->transport = transport; |