<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 25, 2020 at 8:00 AM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Other protocol handlers, like uqmi, are also able to setup the MTU,<br>
and instead of doing it via proto_send_update, they just do it like<br>
this:<br>
<br>
        [ -n "$mtu" ] && {<br>
                echo "Setting MTU to $mtu"<br>
                /sbin/ip link set dev $ifname mtu $mtu<br>
        }<br>
<br>
I guess we can do the same in the ModemManager protocol handler.<br>
<br></blockquote><div><br></div><div>That does seem like it would work, but I'm wary of race conditions with the message sent to netifd via ubus, and further feel like it would be better to have netifd learn how to set the mtu directly, if it doesn't already know how.<br></div><div><br></div><div>Are any of the netifd project's contributors able to comment on this?</div><div><br></div></div></div>