]> err.no Git - linux-2.6/blobdiff - net/sctp/outqueue.c
[PATCH] Fix compilation of via-pmu-backlight
[linux-2.6] / net / sctp / outqueue.c
index 739582415bf6d84b98d61235ac6a220b9a01cd34..fba567a7cb64343dad79285057f0ae8d9a384b98 100644 (file)
@@ -1065,7 +1065,7 @@ int sctp_outq_sack(struct sctp_outq *q, struct sctp_sackhdr *sack)
         * A) Initialize the cacc_saw_newack to 0 for all destination
         * addresses.
         */
-       if (sack->num_gap_ack_blocks > 0 &&
+       if (sack->num_gap_ack_blocks &&
            primary->cacc.changeover_active) {
                list_for_each(pos, transport_list) {
                        transport = list_entry(pos, struct sctp_transport,
@@ -1632,7 +1632,7 @@ pass:
 }
 
 static inline int sctp_get_skip_pos(struct sctp_fwdtsn_skip *skiplist,
-                                   int nskips, __u16 stream)
+                                   int nskips, __be16 stream)
 {
        int i;