diff options
Diffstat (limited to 'net/sctp/ulpevent.c')
-rw-r--r-- | net/sctp/ulpevent.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index 445e07a7ac4b..2e11bc8d5d35 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c | |||
@@ -749,7 +749,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_pdapi( | |||
749 | */ | 749 | */ |
750 | pd->pdapi_length = sizeof(struct sctp_pdapi_event); | 750 | pd->pdapi_length = sizeof(struct sctp_pdapi_event); |
751 | 751 | ||
752 | /* pdapi_indication: 32 bits (unsigned integer) | 752 | /* pdapi_indication: 32 bits (unsigned integer) |
753 | * | 753 | * |
754 | * This field holds the indication being sent to the application. | 754 | * This field holds the indication being sent to the application. |
755 | */ | 755 | */ |
@@ -790,13 +790,13 @@ void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event, | |||
790 | return; | 790 | return; |
791 | 791 | ||
792 | /* Sockets API Extensions for SCTP | 792 | /* Sockets API Extensions for SCTP |
793 | * Section 5.2.2 SCTP Header Information Structure (SCTP_SNDRCV) | 793 | * Section 5.2.2 SCTP Header Information Structure (SCTP_SNDRCV) |
794 | * | 794 | * |
795 | * sinfo_stream: 16 bits (unsigned integer) | 795 | * sinfo_stream: 16 bits (unsigned integer) |
796 | * | 796 | * |
797 | * For recvmsg() the SCTP stack places the message's stream number in | 797 | * For recvmsg() the SCTP stack places the message's stream number in |
798 | * this value. | 798 | * this value. |
799 | */ | 799 | */ |
800 | sinfo.sinfo_stream = event->stream; | 800 | sinfo.sinfo_stream = event->stream; |
801 | /* sinfo_ssn: 16 bits (unsigned integer) | 801 | /* sinfo_ssn: 16 bits (unsigned integer) |
802 | * | 802 | * |
@@ -828,7 +828,7 @@ void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event, | |||
828 | sinfo.sinfo_flags = event->flags; | 828 | sinfo.sinfo_flags = event->flags; |
829 | /* sinfo_tsn: 32 bit (unsigned integer) | 829 | /* sinfo_tsn: 32 bit (unsigned integer) |
830 | * | 830 | * |
831 | * For the receiving side, this field holds a TSN that was | 831 | * For the receiving side, this field holds a TSN that was |
832 | * assigned to one of the SCTP Data Chunks. | 832 | * assigned to one of the SCTP Data Chunks. |
833 | */ | 833 | */ |
834 | sinfo.sinfo_tsn = event->tsn; | 834 | sinfo.sinfo_tsn = event->tsn; |
@@ -879,7 +879,7 @@ static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event, | |||
879 | * fragment of the real event. However, we still need to do rwnd | 879 | * fragment of the real event. However, we still need to do rwnd |
880 | * accounting. | 880 | * accounting. |
881 | * In general, the skb passed from IP can have only 1 level of | 881 | * In general, the skb passed from IP can have only 1 level of |
882 | * fragments. But we allow multiple levels of fragments. | 882 | * fragments. But we allow multiple levels of fragments. |
883 | */ | 883 | */ |
884 | for (frag = skb_shinfo(skb)->frag_list; frag; frag = frag->next) { | 884 | for (frag = skb_shinfo(skb)->frag_list; frag; frag = frag->next) { |
885 | sctp_ulpevent_receive_data(sctp_skb2event(frag), asoc); | 885 | sctp_ulpevent_receive_data(sctp_skb2event(frag), asoc); |
@@ -888,7 +888,7 @@ static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event, | |||
888 | 888 | ||
889 | /* Do accounting for bytes just read by user and release the references to | 889 | /* Do accounting for bytes just read by user and release the references to |
890 | * the association. | 890 | * the association. |
891 | */ | 891 | */ |
892 | static void sctp_ulpevent_release_data(struct sctp_ulpevent *event) | 892 | static void sctp_ulpevent_release_data(struct sctp_ulpevent *event) |
893 | { | 893 | { |
894 | struct sk_buff *skb, *frag; | 894 | struct sk_buff *skb, *frag; |