]> 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)
commitebcc4971633a801e017f54b2a725ca55b7e6f66c
tree39b1c8ce892da55be97c2dead2fa046dad516ddd
parent45982e14d6ff89e2e4ab54ce7aac3863ae5dae3d
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