|
|
0c610f |
From 596efd6631b83069d41782fb0ee2d6cf76a50dfa Mon Sep 17 00:00:00 2001
|
|
|
0c610f |
From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
|
|
|
0c610f |
Date: Fri, 24 Aug 2018 09:52:59 -0300
|
|
|
0c610f |
Subject: [PATCH 2/3] build: fix probing for HAVE_SCTP_SENDV
|
|
|
0c610f |
|
|
|
0c610f |
Somehow it was using a type that is non-existent. The right one is
|
|
|
0c610f |
sctp_prinfo, introduced on ed63afb8a318 ("sctp: add support for PR-SCTP
|
|
|
0c610f |
Information for sendmsg"), present on v4.17.
|
|
|
0c610f |
|
|
|
0c610f |
Fixes: 1b798f1ca3b5 ("build: add define HAVE_SCTP_AUTH_NO_AUTH")
|
|
|
0c610f |
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
|
|
|
0c610f |
Reviewed-by: Xin Long <lucien.xin@gmail.com>
|
|
|
0c610f |
---
|
|
|
0c610f |
configure.ac | 5 ++---
|
|
|
0c610f |
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
0c610f |
|
|
|
0c610f |
diff --git a/configure.ac b/configure.ac
|
|
|
0c610f |
index dad658c..f55775a 100644
|
|
|
0c610f |
--- a/configure.ac
|
|
|
0c610f |
+++ b/configure.ac
|
|
|
0c610f |
@@ -94,9 +94,8 @@ LKSCTP_CHECK_MEMBER([struct sctp_pdapi_event.pdapi_stream],
|
|
|
0c610f |
LKSCTP_CHECK_MEMBER([struct sctp_pdapi_event.pdapi_seq],
|
|
|
0c610f |
[HAVE_SCTP_PDAPI_EVENT_PDAPI_SEQ])
|
|
|
0c610f |
|
|
|
0c610f |
-# PR-SCTP field used to probe for sendv/recvv support, added on v4.17
|
|
|
0c610f |
-LKSCTP_CHECK_MEMBER([struct sendv_prinfo.sctp_prinfo],
|
|
|
0c610f |
- [HAVE_SCTP_SENDV])
|
|
|
0c610f |
+# PR-SCTP struct used to probe for sendv/recvv support, added on v4.17
|
|
|
0c610f |
+LKSCTP_CHECK_TYPE([struct sctp_prinfo], [HAVE_SCTP_SENDV])
|
|
|
0c610f |
|
|
|
0c610f |
# This event indicates that the peer does not support SCTP authentication,
|
|
|
0c610f |
# added on v4.16, 30f6ebf65bc4
|
|
|
0c610f |
--
|
|
|
0c610f |
1.8.3.1
|
|
|
0c610f |
|