Skip to content

Commit 1badd46

Browse files
kishorekunal01StormLiangMS
authored andcommitted
Increase the netlink buffer size from 3MB to 16MB. (#739)
As error is seen in fdbsyncd with netlink reports "out of memory on reading a netlink socket" It is seen when kernel is sending 10k remote mac to fdbsyncd. Signed-off-by: kishore.kunal@broadcom.com
1 parent 6555057 commit 1badd46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common/netlink.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ NetLink::NetLink(int pri) :
3535
}
3636

3737
nl_socket_set_nonblocking(m_socket);
38-
/* Set socket buffer size to 3MB */
39-
nl_socket_set_buffer_size(m_socket, 3145728, 0);
38+
/* Set socket buffer size to 16MB */
39+
nl_socket_set_buffer_size(m_socket, 16777216, 0);
4040
}
4141

4242
NetLink::~NetLink()

0 commit comments

Comments
 (0)