X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif-netdev.c;h=6bf92f264c53d6bfa0ac1a0dc5467a40303b6ffa;hb=6b9bd979007f5c9641ebec745cfed26b7fab645e;hp=cae6d2319a83a9d1eb4dae5f7116da9e0043a92d;hpb=3b01baa3970139c3a195017ab1ea3e42761e3db2;p=openvswitch diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index cae6d231..6bf92f26 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -396,7 +396,7 @@ do_add_port(struct dp_netdev *dp, const char *devname, uint16_t flags, port->netdev = netdev; port->internal = internal; - mtu = netdev_get_mtu(netdev); + netdev_get_mtu(netdev, &mtu); if (mtu > max_mtu) { max_mtu = mtu; }