mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
nllistener: increase netlink buffer to 64k
Currently 4k buffer is too small to handle some netlink messages (Like bridge vlans for example, with 32k messages detected).
This commit is contained in:
@@ -44,7 +44,7 @@ class NetlinkListener(Thread):
|
||||
# As defined in asm/socket.h
|
||||
_SO_ATTACH_FILTER = 26
|
||||
|
||||
RECV_BUFFER = 4096 # 1024 * 1024
|
||||
RECV_BUFFER = 65536 # 1024 * 1024
|
||||
|
||||
def __init__(self, manager, groups, pid_offset=1, error_notification=False, rcvbuf_sz=10000000, bpf_filter=None):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user