diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2011-02-07 15:04:23 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2011-02-07 15:04:23 +0000 |
| commit | 4c97400f86fd40a67371afe4b6605bc09d18652d (patch) | |
| tree | 3793c883577d61272e38191fd7538afba95a6038 /sys/netinet6 | |
| parent | f6e6bb86df93799b2129ad17de9caaaebc4c7d1a (diff) | |
Notes
Diffstat (limited to 'sys/netinet6')
| -rw-r--r-- | sys/netinet6/sctp6_usrreq.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c index ecfcb630bc72..fd71dec0c750 100644 --- a/sys/netinet6/sctp6_usrreq.c +++ b/sys/netinet6/sctp6_usrreq.c @@ -170,6 +170,12 @@ sctp6_input(struct mbuf **i_pak, int *offp, int proto) } net->port = port; } + if ((net != NULL) && (m->m_flags & M_FLOWID)) { + net->flowid = m->m_pkthdr.flowid; +#ifdef INVARIANTS + net->flowidset = 1; +#endif + } /* in6p's ref-count increased && stcb locked */ if ((in6p) && (stcb)) { sctp_send_packet_dropped(stcb, net, m, iphlen, 1); @@ -198,6 +204,12 @@ sctp_skip_csum: } net->port = port; } + if ((net != NULL) && (m->m_flags & M_FLOWID)) { + net->flowid = m->m_pkthdr.flowid; +#ifdef INVARIANTS + net->flowidset = 1; +#endif + } /* in6p's ref-count increased */ if (in6p == NULL) { struct sctp_init_chunk *init_chk, chunk_buf; |
