summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-08 11:02:53 +0000
committerMartin Mares <mj@ucw.cz>2000-05-08 11:02:53 +0000
commit94e935d8a2e02f18e3731624720e8f84be5e9f15 (patch)
treec39f51c35cf70c300235f59dfe4c5ac7a2fd45cb
parent916c8c0abacfd5ba93353fec9dba84a81845c95e (diff)
Incoming buffer must be at least 8KB long.
-rw-r--r--sysdep/linux/netlink/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index 3bba8585..7f66af92 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -42,7 +42,7 @@ static int nl_sync_fd = -1; /* Unix socket for synchronous netlink actions */
static u32 nl_sync_seq; /* Sequence number of last request sent */
static byte *nl_rx_buffer; /* Receive buffer */
-#define NL_RX_SIZE 2048
+#define NL_RX_SIZE 8192
static struct nlmsghdr *nl_last_hdr; /* Recently received packet */
static unsigned int nl_last_size;