Incoming buffer must be at least 8KB long.
This commit is contained in:
parent
916c8c0aba
commit
94e935d8a2
1 changed files with 1 additions and 1 deletions
|
@ -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 u32 nl_sync_seq; /* Sequence number of last request sent */
|
||||||
|
|
||||||
static byte *nl_rx_buffer; /* Receive buffer */
|
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 struct nlmsghdr *nl_last_hdr; /* Recently received packet */
|
||||||
static unsigned int nl_last_size;
|
static unsigned int nl_last_size;
|
||||||
|
|
Loading…
Reference in a new issue