Re: [PATCH iproute2] lib/libnetlink: fix response seq check

2018-10-03 Thread Stephen Hemminger
On Wed, 3 Oct 2018 16:01:40 -0700 Vlad Dumitrescu wrote: > Hi, > > On Fri, Sep 28, 2018 at 10:14 AM wrote: > > > > From: Vlad Dumitrescu > > > > Taking a one-iovec example, with rtnl->seq at 42. iovlen == 1, seq > > becomes 43 on line 604, and a message is sent with nlmsg_seq == 43. If > > a r

Re: [PATCH iproute2] lib/libnetlink: fix response seq check

2018-10-03 Thread Vlad Dumitrescu
Hi, On Fri, Sep 28, 2018 at 10:14 AM wrote: > > From: Vlad Dumitrescu > > Taking a one-iovec example, with rtnl->seq at 42. iovlen == 1, seq > becomes 43 on line 604, and a message is sent with nlmsg_seq == 43. If > a response with nlmsg_seq of 42 is received, the condition being fixed > in this

[PATCH iproute2] lib/libnetlink: fix response seq check

2018-09-28 Thread vlad
From: Vlad Dumitrescu Taking a one-iovec example, with rtnl->seq at 42. iovlen == 1, seq becomes 43 on line 604, and a message is sent with nlmsg_seq == 43. If a response with nlmsg_seq of 42 is received, the condition being fixed in this patch would incorrectly accept it. Fixes: 72a2ff3916e5 ("