Re: [PATCH iproute2] libnetlink: __rtnl_talk_iov should only loop max iovlen times

2018-03-02 Thread Stephen Hemminger
On Thu, 1 Mar 2018 14:43:08 -0800 David Ahern wrote: > William reported ip hanging and bisected to a recent commit for batching > allowing more than 1 command to be sent per message. The loop over > recvmsg should never cycle more than iovlen times -- 1 response for > each command in the message

[PATCH iproute2] libnetlink: __rtnl_talk_iov should only loop max iovlen times

2018-03-01 Thread David Ahern
William reported ip hanging and bisected to a recent commit for batching allowing more than 1 command to be sent per message. The loop over recvmsg should never cycle more than iovlen times -- 1 response for each command in the message. Fixes: 72a2ff3916e5 ("lib/libnetlink: Add a new function rtnl