diff options
Diffstat (limited to 'net/sctp/ulpqueue.c')
-rw-r--r-- | net/sctp/ulpqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index a67470083be8..2d96640b7ad8 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c | |||
@@ -107,7 +107,7 @@ int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | |||
107 | event = sctp_ulpq_reasm(ulpq, event); | 107 | event = sctp_ulpq_reasm(ulpq, event); |
108 | 108 | ||
109 | /* Do ordering if needed. */ | 109 | /* Do ordering if needed. */ |
110 | if ((event) && (event->msg_flags & MSG_EOR)){ | 110 | if ((event) && (event->msg_flags & MSG_EOR)) { |
111 | /* Create a temporary list to collect chunks on. */ | 111 | /* Create a temporary list to collect chunks on. */ |
112 | skb_queue_head_init(&temp); | 112 | skb_queue_head_init(&temp); |
113 | __skb_queue_tail(&temp, sctp_event2skb(event)); | 113 | __skb_queue_tail(&temp, sctp_event2skb(event)); |
@@ -726,7 +726,7 @@ static void sctp_ulpq_reasm_drain(struct sctp_ulpq *ulpq) | |||
726 | 726 | ||
727 | while ((event = sctp_ulpq_retrieve_reassembled(ulpq)) != NULL) { | 727 | while ((event = sctp_ulpq_retrieve_reassembled(ulpq)) != NULL) { |
728 | /* Do ordering if needed. */ | 728 | /* Do ordering if needed. */ |
729 | if ((event) && (event->msg_flags & MSG_EOR)){ | 729 | if ((event) && (event->msg_flags & MSG_EOR)) { |
730 | skb_queue_head_init(&temp); | 730 | skb_queue_head_init(&temp); |
731 | __skb_queue_tail(&temp, sctp_event2skb(event)); | 731 | __skb_queue_tail(&temp, sctp_event2skb(event)); |
732 | 732 | ||