diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 12:26:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 12:26:46 -0400 |
commit | 15c54033964a943de7b0763efd3bd0ede7326395 (patch) | |
tree | 840b292612d1b5396d5bab5bde537a9013db3ceb /net/sctp/outqueue.c | |
parent | ad5da3cf39a5b11a198929be1f2644e17ecd767e (diff) | |
parent | 912a41a4ab935ce8c4308428ec13fc7f8b1f18f4 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (448 commits)
[IPV4] nl_fib_lookup: Initialise res.r before fib_res_put(&res)
[IPV6]: Fix thinko in ipv6_rthdr_rcv() changes.
[IPV4]: Add multipath cached to feature-removal-schedule.txt
[WIRELESS] cfg80211: Clarify locking comment.
[WIRELESS] cfg80211: Fix locking in wiphy_new.
[WEXT] net_device: Don't include wext bits if not required.
[WEXT]: Misc code cleanups.
[WEXT]: Reduce inline abuse.
[WEXT]: Move EXPORT_SYMBOL statements where they belong.
[WEXT]: Cleanup early ioctl call path.
[WEXT]: Remove options.
[WEXT]: Remove dead debug code.
[WEXT]: Clean up how wext is called.
[WEXT]: Move to net/wireless
[AFS]: Eliminate cmpxchg() usage in vlocation code.
[RXRPC]: Fix pointers passed to bitops.
[RXRPC]: Remove bogus atomic_* overrides.
[AFS]: Fix u64 printing in debug logging.
[AFS]: Add "directory write" support.
[AFS]: Implement the CB.InitCallBackState3 operation.
...
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r-- | net/sctp/outqueue.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c index 41abfd17627e..992f361084b7 100644 --- a/net/sctp/outqueue.c +++ b/net/sctp/outqueue.c | |||
@@ -338,7 +338,7 @@ int sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk) | |||
338 | SCTP_INC_STATS(SCTP_MIB_OUTORDERCHUNKS); | 338 | SCTP_INC_STATS(SCTP_MIB_OUTORDERCHUNKS); |
339 | q->empty = 0; | 339 | q->empty = 0; |
340 | break; | 340 | break; |
341 | }; | 341 | } |
342 | } else { | 342 | } else { |
343 | list_add_tail(&chunk->list, &q->control_chunk_list); | 343 | list_add_tail(&chunk->list, &q->control_chunk_list); |
344 | SCTP_INC_STATS(SCTP_MIB_OUTCTRLCHUNKS); | 344 | SCTP_INC_STATS(SCTP_MIB_OUTCTRLCHUNKS); |
@@ -630,7 +630,7 @@ static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt, | |||
630 | /* Retrieve a new chunk to bundle. */ | 630 | /* Retrieve a new chunk to bundle. */ |
631 | lchunk = sctp_list_dequeue(lqueue); | 631 | lchunk = sctp_list_dequeue(lqueue); |
632 | break; | 632 | break; |
633 | }; | 633 | } |
634 | 634 | ||
635 | /* If we are here due to a retransmit timeout or a fast | 635 | /* If we are here due to a retransmit timeout or a fast |
636 | * retransmit and if there are any chunks left in the retransmit | 636 | * retransmit and if there are any chunks left in the retransmit |
@@ -779,7 +779,7 @@ int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout) | |||
779 | default: | 779 | default: |
780 | /* We built a chunk with an illegal type! */ | 780 | /* We built a chunk with an illegal type! */ |
781 | BUG(); | 781 | BUG(); |
782 | }; | 782 | } |
783 | } | 783 | } |
784 | 784 | ||
785 | /* Is it OK to send data chunks? */ | 785 | /* Is it OK to send data chunks? */ |
@@ -1397,7 +1397,7 @@ static void sctp_check_transmitted(struct sctp_outq *q, | |||
1397 | SCTP_DEBUG_PRINTK("ACKed: %08x", tsn); | 1397 | SCTP_DEBUG_PRINTK("ACKed: %08x", tsn); |
1398 | dbg_prt_state = 0; | 1398 | dbg_prt_state = 0; |
1399 | dbg_ack_tsn = tsn; | 1399 | dbg_ack_tsn = tsn; |
1400 | }; | 1400 | } |
1401 | 1401 | ||
1402 | dbg_last_ack_tsn = tsn; | 1402 | dbg_last_ack_tsn = tsn; |
1403 | #endif /* SCTP_DEBUG */ | 1403 | #endif /* SCTP_DEBUG */ |
@@ -1452,7 +1452,7 @@ static void sctp_check_transmitted(struct sctp_outq *q, | |||
1452 | SCTP_DEBUG_PRINTK("KEPT: %08x",tsn); | 1452 | SCTP_DEBUG_PRINTK("KEPT: %08x",tsn); |
1453 | dbg_prt_state = 1; | 1453 | dbg_prt_state = 1; |
1454 | dbg_kept_tsn = tsn; | 1454 | dbg_kept_tsn = tsn; |
1455 | }; | 1455 | } |
1456 | 1456 | ||
1457 | dbg_last_kept_tsn = tsn; | 1457 | dbg_last_kept_tsn = tsn; |
1458 | #endif /* SCTP_DEBUG */ | 1458 | #endif /* SCTP_DEBUG */ |
@@ -1476,7 +1476,7 @@ static void sctp_check_transmitted(struct sctp_outq *q, | |||
1476 | } else { | 1476 | } else { |
1477 | SCTP_DEBUG_PRINTK("\n"); | 1477 | SCTP_DEBUG_PRINTK("\n"); |
1478 | } | 1478 | } |
1479 | }; | 1479 | } |
1480 | #endif /* SCTP_DEBUG */ | 1480 | #endif /* SCTP_DEBUG */ |
1481 | if (transport) { | 1481 | if (transport) { |
1482 | if (bytes_acked) { | 1482 | if (bytes_acked) { |