Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 596efd6631b83069d41782fb0ee2d6cf76a50dfa Mon Sep 17 00:00:00 2001 |
| 2 | From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> |
| 3 | Date: Fri, 24 Aug 2018 09:52:59 -0300 |
| 4 | Subject: [PATCH] build: fix probing for HAVE_SCTP_SENDV |
| 5 | |
| 6 | Somehow it was using a type that is non-existent. The right one is |
| 7 | sctp_prinfo, introduced on ed63afb8a318 ("sctp: add support for PR-SCTP |
| 8 | Information for sendmsg"), present on v4.17. |
| 9 | |
| 10 | Fixes: 1b798f1ca3b5 ("build: add define HAVE_SCTP_AUTH_NO_AUTH") |
| 11 | Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> |
| 12 | Reviewed-by: Xin Long <lucien.xin@gmail.com> |
| 13 | --- |
| 14 | configure.ac | 5 ++--- |
| 15 | 1 file changed, 2 insertions(+), 3 deletions(-) |
| 16 | |
| 17 | diff --git a/configure.ac b/configure.ac |
| 18 | index dad658c..f55775a 100644 |
| 19 | --- a/configure.ac |
| 20 | +++ b/configure.ac |
| 21 | @@ -94,9 +94,8 @@ LKSCTP_CHECK_MEMBER([struct sctp_pdapi_event.pdapi_stream], |
| 22 | LKSCTP_CHECK_MEMBER([struct sctp_pdapi_event.pdapi_seq], |
| 23 | [HAVE_SCTP_PDAPI_EVENT_PDAPI_SEQ]) |
| 24 | |
| 25 | -# PR-SCTP field used to probe for sendv/recvv support, added on v4.17 |
| 26 | -LKSCTP_CHECK_MEMBER([struct sendv_prinfo.sctp_prinfo], |
| 27 | - [HAVE_SCTP_SENDV]) |
| 28 | +# PR-SCTP struct used to probe for sendv/recvv support, added on v4.17 |
| 29 | +LKSCTP_CHECK_TYPE([struct sctp_prinfo], [HAVE_SCTP_SENDV]) |
| 30 | |
| 31 | # This event indicates that the peer does not support SCTP authentication, |
| 32 | # added on v4.16, 30f6ebf65bc4 |
| 33 | -- |
| 34 | 2.7.4 |
| 35 | |