]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Fix compilation issue introduced in r287717.
authortuexen <tuexen@FreeBSD.org>
Sat, 12 Sep 2015 21:23:24 +0000 (21:23 +0000)
committertuexen <tuexen@FreeBSD.org>
Sat, 12 Sep 2015 21:23:24 +0000 (21:23 +0000)
Thanks to bz@ for making me aware of it.

MFC after: 1 week

sys/netinet/sctp_input.c

index 62fbcfb597c4f28ad8b9844b8ca598bf79c311d3..37d9e6051ea563357fa94176f81cc0202c988452 100644 (file)
@@ -5592,7 +5592,7 @@ process_control_chunks:
                                        if (SCTP_BUF_NEXT(op_err) != NULL) {
 #ifdef SCTP_MBUF_LOGGING
                                                if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
-                                                       sctp_log_mbc(SCTP_BUF_NEXT(mm), SCTP_MBUF_ICOPY);
+                                                       sctp_log_mbc(SCTP_BUF_NEXT(op_err), SCTP_MBUF_ICOPY);
                                                }
 #endif
                                                sctp_queue_op_err(stcb, op_err);