|
|
0c610f |
From db6d15bf12a0123e4320e5fd7cb688331dea1bdc Mon Sep 17 00:00:00 2001
|
|
|
0c610f |
From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
|
|
|
0c610f |
Date: Fri, 24 Aug 2018 09:52:58 -0300
|
|
|
0c610f |
Subject: [PATCH 1/3] build: remove v4.12 secondary defines in favor of
|
|
|
0c610f |
HAVE_SCTP_STREAM_RECONFIG
|
|
|
0c610f |
|
|
|
0c610f |
These were backups, commented out since beginning.
|
|
|
0c610f |
HAVE_SCTP_STREAM_RECONFIG is enough to identify that these are there, so
|
|
|
0c610f |
lets use only one.
|
|
|
0c610f |
|
|
|
0c610f |
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
|
|
|
0c610f |
Reviewed-by: Xin Long <lucien.xin@gmail.com>
|
|
|
0c610f |
---
|
|
|
0c610f |
configure.ac | 8 --------
|
|
|
0c610f |
src/include/netinet/sctp.h.in | 2 --
|
|
|
0c610f |
2 files changed, 10 deletions(-)
|
|
|
0c610f |
|
|
|
0c610f |
diff --git a/configure.ac b/configure.ac
|
|
|
0c610f |
index 2ae36ec..dad658c 100644
|
|
|
0c610f |
--- a/configure.ac
|
|
|
0c610f |
+++ b/configure.ac
|
|
|
0c610f |
@@ -82,14 +82,6 @@ AC_CHECK_FUNCS([bzero gethostbyname gettimeofday memmove memset select socket \
|
|
|
0c610f |
LKSCTP_CHECK_MEMBER([struct sctp_event_subscribe.sctp_stream_reset_event],
|
|
|
0c610f |
[HAVE_SCTP_STREAM_RESET_EVENT])
|
|
|
0c610f |
|
|
|
0c610f |
-# Support for assoc reset event, added on v4.12, c95129d127c6
|
|
|
0c610f |
-#LKSCTP_CHECK_MEMBER([struct sctp_event_subscribe.sctp_assoc_reset_event], \
|
|
|
0c610f |
-# [HAVE_SCTP_ASSOC_RESET_EVENT])
|
|
|
0c610f |
-
|
|
|
0c610f |
-# Support for stream change event, added on v4.12, b444153fb5a6
|
|
|
0c610f |
-#LKSCTP_CHECK_MEMBER([struct sctp_event_subscribe.sctp_stream_change_event], \
|
|
|
0c610f |
-# [HAVE_SCTP_STREAM_CHANGE_EVENT])
|
|
|
0c610f |
-
|
|
|
0c610f |
# RFC 6525 (Stream Reconf), finished on v4.12, c0d8bab6ae51
|
|
|
0c610f |
LKSCTP_CHECK_DECL([SCTP_RECONFIG_SUPPORTED], [HAVE_SCTP_STREAM_RECONFIG])
|
|
|
0c610f |
|
|
|
0c610f |
diff --git a/src/include/netinet/sctp.h.in b/src/include/netinet/sctp.h.in
|
|
|
0c610f |
index c049077..2009f1c 100644
|
|
|
0c610f |
--- a/src/include/netinet/sctp.h.in
|
|
|
0c610f |
+++ b/src/include/netinet/sctp.h.in
|
|
|
0c610f |
@@ -61,8 +61,6 @@ extern "C" {
|
|
|
0c610f |
#define HAVE_SCTP_CANSET_PRIMARY
|
|
|
0c610f |
|
|
|
0c610f |
#undef HAVE_SCTP_STREAM_RESET_EVENT
|
|
|
0c610f |
-#undef HAVE_SCTP_ASSOC_RESET_EVENT
|
|
|
0c610f |
-#undef HAVE_SCTP_STREAM_CHANGE_EVENT
|
|
|
0c610f |
#undef HAVE_SCTP_STREAM_RECONFIG
|
|
|
0c610f |
#undef HAVE_SCTP_PEELOFF_FLAGS
|
|
|
0c610f |
#undef HAVE_SCTP_PDAPI_EVENT_PDAPI_STREAM
|
|
|
0c610f |
--
|
|
|
0c610f |
1.8.3.1
|
|
|
0c610f |
|