aboutsummaryrefslogtreecommitdiffstats
path: root/community/accel-ppp/0003-tsearch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/accel-ppp/0003-tsearch.patch')
-rw-r--r--community/accel-ppp/0003-tsearch.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/accel-ppp/0003-tsearch.patch b/community/accel-ppp/0003-tsearch.patch
new file mode 100644
index 00000000000..c669ab39c69
--- /dev/null
+++ b/community/accel-ppp/0003-tsearch.patch
@@ -0,0 +1,11 @@
+--- a/accel-pppd/ctrl/l2tp/l2tp.c
++++ b/accel-pppd/ctrl/l2tp/l2tp.c
+@@ -852,7 +852,7 @@
+ void *sessions = conn->sessions;
+
+ conn->sessions = NULL;
+- tdestroy(sessions, (__free_fn_t)l2tp_session_free);
++ tdestroy(sessions, l2tp_session_free);
+ /* Let l2tp_session_free() handle the session counter and
+ * the reference held by the tunnel.
+ */