From: fangxiaozhi Date: Tue, 17 Nov 2009 12:02:24 +0000 (-0800) Subject: net: PPP buffer too small for higher speed connections X-Git-Tag: firefly_0821_release~9833^2~3968^2~318 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=208f2037ae4a2f23fe5f232d25f4030b3a35c3ed;p=firefly-linux-kernel-4.4.55.git net: PPP buffer too small for higher speed connections 1. This patch is based on the kernel of 2.6.32-rc7 2. In this patch, we enlarge the out buffer size to optimize the upload speed for the ppp connection. Then it can support the upload of HSUPA data cards. Signed-off-by: fangxiaozhi Signed-off-by: David S. Miller --- diff --git a/drivers/net/ppp_async.c b/drivers/net/ppp_async.c index 30b1b3326765..c311fa6597f5 100644 --- a/drivers/net/ppp_async.c +++ b/drivers/net/ppp_async.c @@ -36,7 +36,7 @@ #define PPP_VERSION "2.4.2" -#define OBUFSIZE 256 +#define OBUFSIZE 4096 /* Structure for storing local state. */ struct asyncppp {