mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
d0e02f35af
Originally, the dcb utility only stopped receiving messages from a
socket when it found the attribute it was looking for. Cited commit
changed that, so that the utility will also stop when seeing an ACK
(NLMSG_ERROR message), by setting the NLM_F_ACK flag on requests.
This is problematic because it means a successful request will leave an
ACK in the socket receive buffer, causing the next request to bail
before reading its response.
Fix that by not stopping when finding the required attribute in a
response. Instead, stop on the subsequent ACK.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
dcb_app.c | ||
dcb_apptrust.c | ||
dcb_buffer.c | ||
dcb_dcbx.c | ||
dcb_ets.c | ||
dcb_maxrate.c | ||
dcb_pfc.c | ||
dcb.c | ||
dcb.h | ||
Makefile |