Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add _peek_bufsize to NetlinkSocketBase so recv can use it
NetlinkSocketBase.recv uses DEFAULT_RCVBUF to fetch things like ip links via netlink sockets. It happed in the last cycles that with new NICs with higher VF numbers or similar we have to change the buffer size (see svinota#751 or svinota#813). A better solution (thanks to one or our experts) can be to check the necessary buffer size before receiving the sockets. Fixes svinota#1044 Change-Id: I87c75e4d424653e5a29408b3ac2ba8504cb2db49
- Loading branch information