]> err.no Git - linux-2.6/blobdiff - net/sctp/input.c
[PATCH] Fix compilation of via-pmu-backlight
[linux-2.6] / net / sctp / input.c
index 2d660f8d94fdc19b2b31fff16484a0bf8f8fc187..33111873a488eaf78b63907d73da6ce6ad9cc9fd 100644 (file)
@@ -872,11 +872,8 @@ int sctp_has_association(const union sctp_addr *laddr,
 {
        struct sctp_association *asoc;
        struct sctp_transport *transport;
-       union sctp_addr tmp, tmp2;
-       flip_to_n(&tmp, laddr);
-       flip_to_n(&tmp2, paddr);
 
-       if ((asoc = sctp_lookup_association(&tmp, &tmp2, &transport))) {
+       if ((asoc = sctp_lookup_association(laddr, paddr, &transport))) {
                sctp_association_put(asoc);
                return 1;
        }