Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/net Pull up following revision(s) (requested by degro...



details:   https://anonhg.NetBSD.org/src/rev/b96ef1de079a
branches:  netbsd-6
changeset: 775645:b96ef1de079a
user:      riz <riz%NetBSD.org@localhost>
date:      Fri Feb 08 20:42:51 2013 +0000

description:
Pull up following revision(s) (requested by degroote in ticket #792):
        sys/net/if_gif.c: revision 1.81
PR kern/47419: Antony Mallet: ifconfig doesn't diplay MTU on gif(4)
There is no special treatment for SIOCGITMTU in gif(4), so just pass it to
ifioctl_common().

diffstat:

 sys/net/if_gif.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 9e76e548b96e -r b96ef1de079a sys/net/if_gif.c
--- a/sys/net/if_gif.c  Fri Feb 08 20:31:51 2013 +0000
+++ b/sys/net/if_gif.c  Fri Feb 08 20:42:51 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gif.c,v 1.80 2011/10/28 16:42:52 dyoung Exp $       */
+/*     $NetBSD: if_gif.c,v 1.80.8.1 2013/02/08 20:42:51 riz Exp $      */
 /*     $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $    */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.80 2011/10/28 16:42:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.80.8.1 2013/02/08 20:42:51 riz Exp $");
 
 #include "opt_inet.h"
 #include "opt_iso.h"
@@ -496,9 +496,6 @@
                }
                break;
 
-       case SIOCGIFMTU:
-               break;
-
        case SIOCSIFMTU:
                if (ifr->ifr_mtu < GIF_MTU_MIN || ifr->ifr_mtu > GIF_MTU_MAX)
                        return EINVAL;



Home | Main Index | Thread Index | Old Index