diff options
author | Patrick Mullaney <pmullaney@novell.com> | 2009-12-03 15:59:22 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 15:59:22 -0800 |
commit | fc4a7489663250360cd40d5adf06a08d1c5d54df (patch) | |
tree | ce8fed0a2dfc175b03834bb94717f5f2970c9146 /include | |
parent | 012093f6d5d89e6ed6e89c55c383f84b1cff7a78 (diff) | |
download | linux-stable-fc4a7489663250360cd40d5adf06a08d1c5d54df.tar.gz linux-stable-fc4a7489663250360cd40d5adf06a08d1c5d54df.tar.bz2 linux-stable-fc4a7489663250360cd40d5adf06a08d1c5d54df.zip |
netdevice: provide common routine for macvlan and vlan operstate management
Provide common routine for the transition of operational state for a leaf
device during a root device transition.
Signed-off-by: Patrick Mullaney <pmullaney@novell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index daf13d367498..a3fccc85b1a0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1981,6 +1981,9 @@ unsigned long netdev_increment_features(unsigned long all, unsigned long one, unsigned long mask); unsigned long netdev_fix_features(unsigned long features, const char *name); +void netif_stacked_transfer_operstate(const struct net_device *rootdev, + struct net_device *dev); + static inline int net_gso_ok(int features, int gso_type) { int feature = gso_type << NETIF_F_GSO_SHIFT; |