aboutsummaryrefslogtreecommitdiffstats
diff options
-rw-r--r--0001-kdbus-interprocess-message-router.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/0001-kdbus-interprocess-message-router.patch b/0001-kdbus-interprocess-message-router.patch
index c563642cdf968c..5f42c13498fa83 100644
--- a/0001-kdbus-interprocess-message-router.patch
+++ b/0001-kdbus-interprocess-message-router.patch
@@ -10,13 +10,13 @@ Nothing to see here, move along...
drivers/kdbus/Makefile | 4
drivers/kdbus/bus.c | 122 ++++++++
drivers/kdbus/ep.c | 200 ++++++++++++++
- drivers/kdbus/kdbus.c | 611 +++++++++++++++++++++++++++++++++++++++++++++
+ drivers/kdbus/kdbus.c | 613 +++++++++++++++++++++++++++++++++++++++++++++
drivers/kdbus/kdbus.h | 185 +++++++++++++
drivers/kdbus/ns.c | 217 +++++++++++++++
include/uapi/kdbus/kdbus.h | 123 +++++++++
include/uapi/linux/major.h | 2
kdbus.c | 77 +++++
- 12 files changed, 1549 insertions(+)
+ 12 files changed, 1551 insertions(+)
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -379,7 +379,7 @@ Nothing to see here, move along...
+
--- /dev/null
+++ b/drivers/kdbus/kdbus.c
-@@ -0,0 +1,611 @@
+@@ -0,0 +1,613 @@
+/*
+ * kdbus - interprocess message routing
+ *
@@ -531,6 +531,8 @@ Nothing to see here, move along...
+ goto err_unlock;
+ }
+ /* FIXME: get 64 bit working, this will fail for the 2^31th connection */
++ /* use a hash table to get 64bit ids working properly, idr is the wrong
++ * thing to use here. */
+ err = idr_get_new_above(&conn->ep->bus->conn_idr, conn, conn->id, &i);
+ if (err >= 0 && conn->id != i) {
+ idr_remove(&conn->ep->bus->conn_idr, i);