diff options
author | David Ahern <dsahern@gmail.com> | 2018-05-17 12:29:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-17 17:08:55 -0400 |
commit | 33fa382324ebd1513cdf25ceb7ee4995b304ddac (patch) | |
tree | 43e77996ebaafc2aa26430f05d1d9f7accd2dab0 /net/8021q/vlan.h | |
parent | 8a8633978b842c88fbcfe00d4e5dde96048f630e (diff) | |
download | linux-33fa382324ebd1513cdf25ceb7ee4995b304ddac.tar.gz linux-33fa382324ebd1513cdf25ceb7ee4995b304ddac.tar.bz2 linux-33fa382324ebd1513cdf25ceb7ee4995b304ddac.zip |
vlan: Add extack messages for link create
Add informative messages for error paths related to adding a
VLAN to a device.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index e23aac3e4d37..44df1c3df02d 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h @@ -109,7 +109,8 @@ int vlan_dev_change_flags(const struct net_device *dev, u32 flag, u32 mask); void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); int vlan_check_real_dev(struct net_device *real_dev, - __be16 protocol, u16 vlan_id); + __be16 protocol, u16 vlan_id, + struct netlink_ext_ack *extack); void vlan_setup(struct net_device *dev); int register_vlan_dev(struct net_device *dev, struct netlink_ext_ack *extack); void unregister_vlan_dev(struct net_device *dev, struct list_head *head); |