Module Name:    src
Committed By:   njoly
Date:           Thu Dec 10 17:07:27 UTC 2009

Modified Files:
        src/sys/compat/linux32/common: linux32_socket.c

Log Message:
Add SIOCGIFMTU support.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux32/common/linux32_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux32/common/linux32_socket.c
diff -u src/sys/compat/linux32/common/linux32_socket.c:1.13 src/sys/compat/linux32/common/linux32_socket.c:1.14
--- src/sys/compat/linux32/common/linux32_socket.c:1.13	Thu Dec 10 16:55:17 2009
+++ src/sys/compat/linux32/common/linux32_socket.c	Thu Dec 10 17:07:26 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux32_socket.c,v 1.13 2009/12/10 16:55:17 njoly Exp $ */
+/*	$NetBSD: linux32_socket.c,v 1.14 2009/12/10 17:07:26 njoly Exp $ */
 
 /*-
  * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.13 2009/12/10 16:55:17 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.14 2009/12/10 17:07:26 njoly Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -656,6 +656,9 @@
 	case LINUX_SIOCGIFNETMASK:
 		SCARG(&ia, com) = OOSIOCGIFNETMASK32;
 		break;
+	case LINUX_SIOCGIFMTU:
+		SCARG(&ia, com) = OSIOCGIFMTU32;
+		break;
 	case LINUX_SIOCADDMULTI:
 		SCARG(&ia, com) = OSIOCADDMULTI32;
 		break;

Reply via email to