Skip to content

Commit 41fcad8

Browse files
kishorekunal01yxieca
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: [email protected]
1 parent b31391b commit 41fcad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/netlink.cpp

+2-2
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)