diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /net/sctp/ulpevent.c | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'net/sctp/ulpevent.c')
-rw-r--r-- | net/sctp/ulpevent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index 1bc4f71aaba8..d85b803da11d 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c | |||
@@ -702,14 +702,14 @@ struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc, | |||
702 | */ | 702 | */ |
703 | sctp_ulpevent_init(event, 0, skb->len + sizeof(struct sk_buff)); | 703 | sctp_ulpevent_init(event, 0, skb->len + sizeof(struct sk_buff)); |
704 | 704 | ||
705 | sctp_ulpevent_receive_data(event, asoc); | ||
706 | |||
707 | /* And hold the chunk as we need it for getting the IP headers | 705 | /* And hold the chunk as we need it for getting the IP headers |
708 | * later in recvmsg | 706 | * later in recvmsg |
709 | */ | 707 | */ |
710 | sctp_chunk_hold(chunk); | 708 | sctp_chunk_hold(chunk); |
711 | event->chunk = chunk; | 709 | event->chunk = chunk; |
712 | 710 | ||
711 | sctp_ulpevent_receive_data(event, asoc); | ||
712 | |||
713 | event->stream = ntohs(chunk->subh.data_hdr->stream); | 713 | event->stream = ntohs(chunk->subh.data_hdr->stream); |
714 | event->ssn = ntohs(chunk->subh.data_hdr->ssn); | 714 | event->ssn = ntohs(chunk->subh.data_hdr->ssn); |
715 | event->ppid = chunk->subh.data_hdr->ppid; | 715 | event->ppid = chunk->subh.data_hdr->ppid; |