]> git.karo-electronics.de Git - karo-tx-linux.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)
commite02a06b2a7c6e8b43c60ed8e0181172231af13d7
tree39b1c8ce892da55be97c2dead2fa046dad516ddd
parente23b002b23dfdcd12ca982fbc57dcb071a1fee62
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