summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn W. Linville <lnville@tuxdriver.com>2004-11-17 22:05:18 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-11-17 22:05:18 -0800
commit9a573bdd1fc89bcb5ce74e0991495042d403ed6b (patch)
tree5b65457976318bda71ee5a56787bcf15acd6065a
parent070b1327fd8a1b77f377adae9a2a29d7042a5771 (diff)
[VLAN]: change_mtu should return 0 on success.
Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/8021q/vlan_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 942bde0f7479..49c487413518 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -527,7 +527,7 @@ int vlan_dev_change_mtu(struct net_device *dev, int new_mtu)
dev->mtu = new_mtu;
- return new_mtu;
+ return 0;
}
int vlan_dev_set_ingress_priority(char *dev_name, __u32 skb_prio, short vlan_prio)