diff options
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
-rw-r--r-- | drivers/net/ipvlan/ipvlan_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c index ab90b22e778c..c6aa667b50cd 100644 --- a/drivers/net/ipvlan/ipvlan_main.c +++ b/drivers/net/ipvlan/ipvlan_main.c | |||
@@ -32,7 +32,7 @@ static const struct l3mdev_ops ipvl_l3mdev_ops = { | |||
32 | 32 | ||
33 | static void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev) | 33 | static void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev) |
34 | { | 34 | { |
35 | ipvlan->dev->mtu = dev->mtu - ipvlan->mtu_adj; | 35 | ipvlan->dev->mtu = dev->mtu; |
36 | } | 36 | } |
37 | 37 | ||
38 | static int ipvlan_register_nf_hook(void) | 38 | static int ipvlan_register_nf_hook(void) |