]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
vrf: remove slave queue and private slave struct
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 24 Nov 2015 13:29:16 +0000 (14:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2015 21:26:25 +0000 (16:26 -0500)
commitbad531623253d1e1fb8d140bdc3a077216fd0c5a
treeca071236b84e3d7e8d2cb775b18b6cdc8ecb2e68
parent54f1aa2e5786b8de9595fa85ba5351dd0ad85861
vrf: remove slave queue and private slave struct

The private slave queue and slave struct haven't been used for anything
and aren't needed, this allows to reduce memory usage and simplify
enslave/release. We can use netdev_for_each_lower_dev() to free the vrf
ports when deleting a vrf device. Also if in the future a private struct
is needed for each slave, it can be implemented via lower devices'
private member (similar to how bonding does it).

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c