~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to net/sctp/ulpqueue.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
                        gfp_t gfp)
106
106
{
107
107
        struct sk_buff_head temp;
108
 
        sctp_data_chunk_t *hdr;
109
108
        struct sctp_ulpevent *event;
110
109
 
111
 
        hdr = (sctp_data_chunk_t *) chunk->chunk_hdr;
112
 
 
113
110
        /* Create an event from the incoming chunk. */
114
111
        event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp);
115
112
        if (!event)
243
240
                } else {
244
241
                        /*
245
242
                         * If fragment interleave is enabled, we
246
 
                         * can queue this to the recieve queue instead
 
243
                         * can queue this to the receive queue instead
247
244
                         * of the lobby.
248
245
                         */
249
246
                        if (sctp_sk(sk)->frag_interleave)
743
740
        struct sk_buff *pos, *tmp;
744
741
        struct sctp_ulpevent *cevent;
745
742
        struct sctp_stream *in;
746
 
        __u16 sid, csid;
747
 
        __u16 ssn, cssn;
 
743
        __u16 sid, csid, cssn;
748
744
 
749
745
        sid = event->stream;
750
 
        ssn = event->ssn;
751
746
        in  = &ulpq->asoc->ssnmap->in;
752
747
 
753
748
        event_list = (struct sk_buff_head *) sctp_event2skb(event)->prev;