diff --git a/recipes-osmocom/openggsn/files/libgtp-queue_depth_32.patch b/recipes-osmocom/openggsn/files/libgtp-queue_depth_32.patch new file mode 100644 index 0000000000..52bc37bcac --- /dev/null +++ b/recipes-osmocom/openggsn/files/libgtp-queue_depth_32.patch @@ -0,0 +1,13 @@ +diff --git a/gtp/queue.h b/gtp/queue.h +index 556b6ef..d59a1a3 100644 +--- a/gtp/queue.h ++++ b/gtp/queue.h +@@ -19,7 +19,7 @@ + + #define QUEUE_DEBUG 0 /* Print debug information */ + +-#define QUEUE_SIZE 1024 /* Size of retransmission queue */ ++#define QUEUE_SIZE 32 /* Size of retransmission queue */ + #define QUEUE_HASH_SIZE 65536 /* Size of hash table (2^16) */ + + struct qmsg_t { /* Holder for queued packets */ diff --git a/recipes-osmocom/openggsn/openggsn_git.bb b/recipes-osmocom/openggsn/openggsn_git.bb index 8aaaf8d496..ebcfee6f3c 100644 --- a/recipes-osmocom/openggsn/openggsn_git.bb +++ b/recipes-osmocom/openggsn/openggsn_git.bb @@ -2,11 +2,12 @@ DESCRITOPN = "OpenGGSN a Free Software GGSN" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" PV = "0.91+gitr${SRCPV}" -PR = "r11" +PR = "r12" SRCREV = "95848bafcef145d776d70a73f7bdc3fe37e85724" SRC_URI = "git://ggsn.git.sourceforge.net/gitroot/ggsn/ggsn \ file://openggsn.init \ + file://libgtp-queue_depth_32.patch \ " S = "${WORKDIR}/git"