Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/usb/if_upl.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/usb/if_upl.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.29 retrieving revision 1.30 diff -u -p -r1.29 -r1.30 --- src/sys/dev/usb/if_upl.c 2007/03/13 13:51:54 1.29 +++ src/sys/dev/usb/if_upl.c 2008/02/07 01:21:59 1.30 @@ -1,4 +1,4 @@ -/* $NetBSD: if_upl.c,v 1.29 2007/03/13 13:51:54 drochner Exp $ */ +/* $NetBSD: if_upl.c,v 1.30 2008/02/07 01:21:59 dyoung Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_upl.c,v 1.29 2007/03/13 13:51:54 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_upl.c,v 1.30 2008/02/07 01:21:59 dyoung Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -880,8 +880,8 @@ upl_ioctl(struct ifnet *ifp, u_long comm case SIOCSIFMTU: if (ifr->ifr_mtu > UPL_BUFSZ) error = EINVAL; - else - ifp->if_mtu = ifr->ifr_mtu; + else if ((error = ifioctl_common(ifp, command, data)) == ENETRESET) + error = 0; break; case SIOCSIFFLAGS: