]> git.baikalelectronics.ru Git - kernel.git/commit
net: switchdev: move dev in switchdev_fdb_dump
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 29 Sep 2015 16:07:14 +0000 (12:07 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2015 04:31:59 +0000 (21:31 -0700)
commite3ec790f842b5a042d058983275623200aa3f3e5
tree39b1c8ce892da55be97c2dead2fa046dad516ddd
parent588d51601e36a3e6fa937e9bb6036a77a129420e
net: switchdev: move dev in switchdev_fdb_dump

The FDB dump callback requires the related net_device so move it to the
struct switchdev_fdb_dump superset instead of using a callback param.

With this done, it'll be simpler to change the dump function signature.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/switchdev/switchdev.c