libteam: double NETLINK_RCVBUF to fix -ENOMEM error

v1: Change 96k to 192k in the comments

We are seeing the following errors on some systems configured for LACP:

eth0: Failed to set "priority".
Loop callback failed with: Cannot allocate memory
Failed loop callback: libteam_events, 0x

The slave is then rejected and does not become part of the team. We debugged
this down to -ENOMEM netlink error getting returned by nl_recvmsgs()called
by send_and_recv(). Doubling the buffer size fixed the problem.

Signed-off-by: Jon Maxwell <>
Signed-off-by: Jiri Pirko <>
1 file changed