Re: [PATCH] net: nlmsg_cancel() if put fails for nhmsg

2020-05-20 Thread David Miller
From: Stephen Worley Date: Tue, 19 May 2020 21:57:12 -0400 > Fixes data remnant seen when we fail to reserve space for a > nexthop group during a larger dump. > > If we fail the reservation, we goto nla_put_failure and > cancel the message. > > Reproduce with the following iproute2 commands: .

Re: [PATCH] net: nlmsg_cancel() if put fails for nhmsg

2020-05-19 Thread David Ahern
On 5/19/20 7:57 PM, Stephen Worley wrote: > Fixes data remnant seen when we fail to reserve space for a > nexthop group during a larger dump. > > If we fail the reservation, we goto nla_put_failure and > cancel the message. > > Reproduce with the following iproute2 commands: > ===

[PATCH] net: nlmsg_cancel() if put fails for nhmsg

2020-05-19 Thread Stephen Worley
Fixes data remnant seen when we fail to reserve space for a nexthop group during a larger dump. If we fail the reservation, we goto nla_put_failure and cancel the message. Reproduce with the following iproute2 commands: = ip link add dummy1 type dummy ip link add dummy2 type d