patch-2.2.18 linux/net/appletalk/ddp.c
Next file: linux/net/ax25/Config.in
Previous file: linux/net/Config.in
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Nov 2 12:56:09 2000
- Orig file:
v2.2.17/net/appletalk/ddp.c
- Orig date:
Sat Sep 9 18:42:51 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -2083,22 +2083,6 @@
case SIOCDARP: /* proxy AARP */
return (atif_ioctl(cmd,(void *)arg));
- /*
- * Physical layer ioctl calls
- */
- case SIOCSIFLINK:
- case SIOCGIFHWADDR:
- case SIOCSIFHWADDR:
- case SIOCGIFFLAGS:
- case SIOCSIFFLAGS:
- case SIOCGIFMTU:
- case SIOCGIFCONF:
- case SIOCADDMULTI:
- case SIOCDELMULTI:
- case SIOCGIFCOUNT:
- case SIOCGIFINDEX:
- case SIOCGIFNAME:
- return ((dev_ioctl(cmd,(void *) arg)));
case SIOCSIFMETRIC:
case SIOCSIFBRDADDR:
@@ -2111,7 +2095,7 @@
return (-EINVAL);
default:
- return (-EINVAL);
+ return dev_ioctl(cmd, (void *) arg);
}
return (put_user(amount, (int *)arg));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)