aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-11-06 16:11:46 -0500
committerDavid S. Miller <davem@davemloft.net>2017-11-09 09:26:49 +0900
commitec15dd4269d0cbf947c9a2dfdcf08a917098fab1 (patch)
tree01ca12642fb8db32a27dfb858ff4d62c746c53c4 /include/net/switchdev.h
parentnet: dsa: setup and teardown master device (diff)
downloadwireguard-linux-ec15dd4269d0cbf947c9a2dfdcf08a917098fab1.tar.xz
wireguard-linux-ec15dd4269d0cbf947c9a2dfdcf08a917098fab1.zip
net: dsa: setup and teardown tree
This commit provides better scope for the DSA tree setup and teardown functions. It renames the "applied" bool to "setup" and print a message when the tree is setup, as it is done during teardown. At the same time, check dst->setup in dsa_tree_setup, where it is set to true. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions