Re: [PATCH net-next] rtnl_fdb_dump: catch errors from ndo_fdb_dump and ndo_dflt_fdb_dump

2015-09-23 Thread Scott Feldman
On Wed, Sep 23, 2015 at 9:21 AM, Roopa Prabhu wrote: > From: Wilson Kok > > current ndo_fdb_dump and ndo_dflt_fdb_dump always return the current > fdb index. They dont return errors. Which results in fdb dumps > continuing on errors. > > In one such case where bridges and vxlan devices were invol

[PATCH net-next] rtnl_fdb_dump: catch errors from ndo_fdb_dump and ndo_dflt_fdb_dump

2015-09-23 Thread Roopa Prabhu
From: Wilson Kok current ndo_fdb_dump and ndo_dflt_fdb_dump always return the current fdb index. They dont return errors. Which results in fdb dumps continuing on errors. In one such case where bridges and vxlan devices were involved, bridge driver returned -EMSGSIZE on a bridge, but since it co