Thanks, applied to master.
On Fri, Apr 26, 2013 at 03:50:26PM -0700, Justin Pettit wrote: > Looks good. > > --Justin > > > On Apr 26, 2013, at 11:37 AM, Ben Pfaff <b...@nicira.com> wrote: > > > What a dumb bug. > > > > Signed-off-by: Ben Pfaff <b...@nicira.com> > > --- > > lib/dpif-netdev.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c > > index e4a2f75..6838800 100644 > > --- a/lib/dpif-netdev.c > > +++ b/lib/dpif-netdev.c > > @@ -412,7 +412,7 @@ do_add_port(struct dp_netdev *dp, const char *devname, > > const char *type, > > port->type = xstrdup(type); > > > > error = netdev_get_mtu(netdev, &mtu); > > - if (!error) { > > + if (!error && mtu > max_mtu) { > > max_mtu = mtu; > > } > > > > -- > > 1.7.2.5 > > > > _______________________________________________ > > dev mailing list > > dev@openvswitch.org > > http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev