diff -Nru pyroute2-0.5.6/debian/changelog pyroute2-0.5.6/debian/changelog --- pyroute2-0.5.6/debian/changelog 2019-06-13 04:30:06.000000000 -0700 +++ pyroute2-0.5.6/debian/changelog 2021-01-14 16:23:49.000000000 -0700 @@ -1,3 +1,11 @@ +pyroute2 (0.5.6-0ubuntu1~cloud1) bionic-train; urgency=medium + + * Increase default recv-buf size (LP: #1904730) + - d/p/increase-recvbuf-size.patch: increase recvbuf size + from 16k to 32k. + + -- Billy Olsen Thu, 14 Jan 2021 16:23:49 -0700 + pyroute2 (0.5.6-0ubuntu1~cloud0) bionic-train; urgency=medium * New update for the Ubuntu Cloud Archive. diff -Nru pyroute2-0.5.6/debian/patches/increase-rcvbuf-size.patch pyroute2-0.5.6/debian/patches/increase-rcvbuf-size.patch --- pyroute2-0.5.6/debian/patches/increase-rcvbuf-size.patch 1969-12-31 17:00:00.000000000 -0700 +++ pyroute2-0.5.6/debian/patches/increase-rcvbuf-size.patch 2021-01-14 16:23:34.000000000 -0700 @@ -0,0 +1,31 @@ +From 97ac611ba42371736a1d1f27330df1965306171c Mon Sep 17 00:00:00 2001 +Author: Billy Olsen +Bug: https://github.com/svinota/pyroute2/issues/751 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pyroute2/+bug/1904730 +Forwarded: https://github.com/svinota/pyroute2/pull/757 +Date: Mon, 7 Dec 2020 13:16:16 -0700 +Subject: [PATCH 1/1] Increase DEFAULT_RCVBUF size for newer kernels + +Increase the DEFAULT_RCVBUF size from 16K to 32K to allow more data +to be passed along with newer kernels. + +Fixes #751 + +Signed-off-by: Billy Olsen +--- + pyroute2/common.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: pyroute2-0.5.9/pyroute2/common.py +=================================================================== +--- a/pyroute2/common.py ++++ b/pyroute2/common.py +@@ -28,7 +28,7 @@ except NameError: + + AF_MPLS = 28 + AF_PIPE = 255 # Right now AF_MAX == 40 +-DEFAULT_RCVBUF = 16384 ++DEFAULT_RCVBUF = 32768 + _uuid32 = 0 # (singleton) the last uuid32 value saved to avoid collisions + _uuid32_lock = threading.Lock() + diff -Nru pyroute2-0.5.6/debian/patches/series pyroute2-0.5.6/debian/patches/series --- pyroute2-0.5.6/debian/patches/series 1969-12-31 17:00:00.000000000 -0700 +++ pyroute2-0.5.6/debian/patches/series 2021-01-14 16:23:34.000000000 -0700 @@ -0,0 +1 @@ +increase-rcvbuf-size.patch