Re: [net-next PATCH] net: rtnetlink: fdb dflt dump must set idx used for cb->arg[0]
From: David Miller <davem@davemloft.net>
Date: 2013-03-29 19:27:06
From: David Miller <davem@davemloft.net>
Date: 2013-03-29 19:27:06
From: John Fastabend <john.fastabend@gmail.com> Date: Fri, 29 Mar 2013 11:18:37 -0700
In rtnl_fdb_dump() when the fdb_dump ndo op is not populated
we never set the idx value so that cb->arg[0] is always 0.
Resulting in a endless loop of messages.
Introduced with this commit,
commit 090096bf3db1c281ddd034573260045888a68fea
Author: Vlad Yasevich [off-list ref]
Date: Wed Mar 6 15:39:42 2013 +0000
net: generic fdb support for drivers without ndo_fdb_<op>
CC: Vlad Yasevich <redacted>
Signed-off-by: John Fastabend <redacted>Applied, thanks John.