Message ID | CAPWQB7Gw+5GniSBxME8oEb-qhNNTf5XOJmeGub-BHmnhTy0oYA@mail.gmail.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c index 34efc4f56468..5b6857717091 100644 --- a/datapath/linux/compat/stt.c +++ b/datapath/linux/compat/stt.c @@ -1691,7 +1691,7 @@ static int __stt_change_mtu(struct net_device *dev, int new_mtu, bool strict) if (new_mtu < 68) return -EINVAL; - if (new_mtu < 68) { + if (new_mtu > max_mtu) { if (strict) return -EINVAL;