net: PPP buffer too small for higher speed connections
authorfangxiaozhi <huananhu@huawei.com>
Tue, 17 Nov 2009 12:02:24 +0000 (04:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Nov 2009 12:02:24 +0000 (04:02 -0800)
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 <huananhu@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_async.c

index 30b1b33267650d7f2816125ae37b58efc56c9ba9..c311fa6597f50eec1458b604635225008ceba858 100644 (file)
@@ -36,7 +36,7 @@
 
 #define PPP_VERSION    "2.4.2"
 
-#define OBUFSIZE       256
+#define OBUFSIZE       4096
 
 /* Structure for storing local state. */
 struct asyncppp {