summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorSun Lianwen <sunlw.fnst@cn.fujitsu.com>2018-05-05 09:08:18 +0800
committerDavid S. Miller <davem@davemloft.net>2018-05-07 23:37:30 -0400
commit84a2fba2cb5e90b3b6f6e72676d8e3918725d9e5 (patch)
treedcd42ccc760a744d4362fa0ee5825e0ec00fa5e1 /net/8021q
parent01adc4851a8090b46c7a5ed9cfc4b97e65abfbf4 (diff)
downloadlinux-84a2fba2cb5e90b3b6f6e72676d8e3918725d9e5.tar.bz2
vlan: correct the file path in vlan_dev_change_flags() comment
The vlan_flags enum is defined in include/uapi/linux/if_vlan.h file. not in include/linux/if_vlan.h file. Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r--net/8021q/vlan_dev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 236452ebbd9e..546af0e73ac3 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -215,7 +215,9 @@ int vlan_dev_set_egress_priority(const struct net_device *dev,
return 0;
}
-/* Flags are defined in the vlan_flags enum in include/linux/if_vlan.h file. */
+/* Flags are defined in the vlan_flags enum in
+ * include/uapi/linux/if_vlan.h file.
+ */
int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask)
{
struct vlan_dev_priv *vlan = vlan_dev_priv(dev);